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.
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
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
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
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
Amoeba Extinction Probability: The Branching Process Solution

Amoeba Extinction Probability: The Branching Process Solution

Comments
12 min read
Stochastic vs. Deterministic Models

Stochastic vs. Deterministic Models

Comments
5 min read
The 100 Prisoners Problem: Permutation Cycles and the 31% Miracle

The 100 Prisoners Problem: Permutation Cycles and the 31% Miracle

Comments
13 min read
GSoC 2026 Kickoff: Distributed Linear Solvers in LinearSolve.jl

GSoC 2026 Kickoff: Distributed Linear Solvers in LinearSolve.jl

Comments
3 min read
Python Looping #2: Factorial, Perfect Numbers, and Pattern Printing Explained

Python Looping #2: Factorial, Perfect Numbers, and Pattern Printing Explained

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