DEV Community

Algorithms

Heap, Binary Tree, Data Structure it doesn't matter. This tag should be used for anything Algorithm & Data Structure focused.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Learning DSA in Public, Week 2: Running Totals, Train Engines and Two Pointers

Learning DSA in Public, Week 2: Running Totals, Train Engines and Two Pointers

Comments
5 min read
Secret Santa is a graph problem: drawing names with "not my partner" rules

Secret Santa is a graph problem: drawing names with "not my partner" rules

1
Comments 2
7 min read
Add a fail-closed edge check before your NIFTY options orders

Add a fail-closed edge check before your NIFTY options orders

Comments
5 min read
COE bidding dates in code: a small rule fits all 72 rounds since 2024

COE bidding dates in code: a small rule fits all 72 rounds since 2024

Comments
8 min read
Sculpting 1,300-piece LEGO models in code: ellipsoids, voxels and clear supports

Sculpting 1,300-piece LEGO models in code: ellipsoids, voxels and clear supports

1
Comments
5 min read
What Are Tokens, and Why Does AI Count Everything in Them?

What Are Tokens, and Why Does AI Count Everything in Them?

Comments
4 min read
Our related-guides block gave every link to the A names, so 61 of 211 pages received none

Our related-guides block gave every link to the A names, so 61 of 211 pages received none

Comments
5 min read
How to Build an Order Matching Engine in Python: Price-Time Priority, Replay and Hypothesis Tests

How to Build an Order Matching Engine in Python: Price-Time Priority, Replay and Hypothesis Tests

1
Comments
24 min read
Tic-Tac-Toe: A Solved Game, an Early Computer and Its Variants

Tic-Tac-Toe: A Solved Game, an Early Computer and Its Variants

1
Comments 2
5 min read
Anatomy of a High-Performance EA (Part I): O(1) Bitwise Architecture and ID Packing in Trade Assistant Pro

Anatomy of a High-Performance EA (Part I): O(1) Bitwise Architecture and ID Packing in Trade Assistant Pro

1
Comments
8 min read
Which file is this thumbnail? Matching an on-screen photo to its file with a 64-bit difference hash, and refusing when two look alike

Which file is this thumbnail? Matching an on-screen photo to its file with a 64-bit difference hash, and refusing when two look alike

Comments
7 min read
What it takes to prove binary search works

What it takes to prove binary search works

Comments
7 min read
How We Build Pentomino Levels with Dancing Links

How We Build Pentomino Levels with Dancing Links

Comments
6 min read
How Hundreds of Puzzle Levels Are Generated and Checked

How Hundreds of Puzzle Levels Are Generated and Checked

Comments
6 min read
How a Daily Puzzle Can Be the Same for Everyone, No Server

How a Daily Puzzle Can Be the Same for Everyone, No Server

Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.