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
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
4Sum

4Sum

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
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
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
[System Design] Ride-Hailing Dispatch Algorithm: How Uber DISCO & Grab DispatchGym Match Drivers

[System Design] Ride-Hailing Dispatch Algorithm: How Uber DISCO & Grab DispatchGym Match Drivers

1
Comments
10 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
Markov Chain Coin Sequence: E[HH] vs E[HTH] Explained

Markov Chain Coin Sequence: E[HH] vs E[HTH] Explained

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