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.
Zodiac date tables are wrong for about 1 birth in 80: I computed 972 Sun sign crossings

Zodiac date tables are wrong for about 1 birth in 80: I computed 972 Sun sign crossings

Comments
6 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
3420. Count Non-Decreasing Subarrays After K Operations

3420. Count Non-Decreasing Subarrays After K Operations

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
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
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
Best, Worst, and Average Case Analysis: Why All Three Matter

Best, Worst, and Average Case Analysis: Why All Three Matter

1
Comments
4 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
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
ezeoke encryption

ezeoke encryption

Comments
3 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
How a panel cutting optimiser works: guillotine cuts, kerf, grain, and why greedy fails

How a panel cutting optimiser works: guillotine cuts, kerf, grain, and why greedy fails

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

What it takes to prove binary search works

Comments
7 min read
I built a search engine from scratch to show my kids how Google finds things so fast

I built a search engine from scratch to show my kids how Google finds things so fast

Comments
7 min read
Why a larger output does not restore lost detail

Why a larger output does not restore lost detail

Comments
3 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.