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.
The Fastest Set Is Often Not a Set: 4050 Duplicate-Detection Benchmarks

The Fastest Set Is Often Not a Set: 4050 Duplicate-Detection Benchmarks

Comments
2 min read
从LLMè§†è§’é‡æ–°æ€è€ƒç†”çš„ćźšäč‰

从LLMè§†è§’é‡æ–°æ€è€ƒç†”çš„ćźšäč‰

Comments
1 min read
4Sum

4Sum

1
Comments
3 min read
Building a "Mate-in-One" Chess Puzzle Solver from Scratch

Building a "Mate-in-One" Chess Puzzle Solver from Scratch

1
Comments
3 min read
Segment Trees: The “Divide‑and‑Conquer” Trick That Finally Clicked for Me

Segment Trees: The “Divide‑and‑Conquer” Trick That Finally Clicked for Me

Comments
4 min read
DSA vs. Real-World Coding Interviews — and Where Does AI Leave Us?

DSA vs. Real-World Coding Interviews — and Where Does AI Leave Us?

Comments
2 min read
Every hand is solvable: engineering a block puzzle that never cheats

Every hand is solvable: engineering a block puzzle that never cheats

3
Comments
5 min read
Segment Trees: The “Divide‑and‑Conquer” Trick That Actually Makes Sense

Segment Trees: The “Divide‑and‑Conquer” Trick That Actually Makes Sense

1
Comments
5 min read
Why the Two‑Pointer Trick Saved My Interview (and How It Can Save Yours)

Why the Two‑Pointer Trick Saved My Interview (and How It Can Save Yours)

1
Comments
4 min read
The XOR Trick That Saved My Interview

The XOR Trick That Saved My Interview

Comments
4 min read
The Magic of Branchless in FinTech: How to Tame the NASD 30/360 Financial Standard and Solve the IRR Equation Without a Single IF

The Magic of Branchless in FinTech: How to Tame the NASD 30/360 Financial Standard and Solve the IRR Equation Without a Single IF

1
Comments
10 min read
KNN early termination in Manticore Search

KNN early termination in Manticore Search

Comments
8 min read
The 1959 Algorithm That Still Powers Every GPS on Earth — Visualized in React

The 1959 Algorithm That Still Powers Every GPS on Earth — Visualized in React

1
Comments
1 min read
Why Calculating Age Is Harder Than Most Developers Think

Why Calculating Age Is Harder Than Most Developers Think

Comments
2 min read
The Do-Over Game: Nash Equilibrium at the Golden Ratio

The Do-Over Game: Nash Equilibrium at the Golden Ratio

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