DEV Community

#datastructures

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
I Built a Cache Engine from Scratch in Python — and O(1) LFU Eviction Is Sneakier Than LRU

I Built a Cache Engine from Scratch in Python — and O(1) LFU Eviction Is Sneakier Than LRU

Comments
7 min read
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
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
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
Greedy Algorithms: The Quest for Optimal Choice — Inspired by The Lord of the Rings

Greedy Algorithms: The Quest for Optimal Choice — Inspired by The Lord of the Rings

1
Comments 1
4 min read
You Don't Use Linked Lists. But They're Running Half Your Software.

You Don't Use Linked Lists. But They're Running Half Your Software.

5
Comments 4
9 min read
Binary Search Tree Explained: All Operations From One Rule

Binary Search Tree Explained: All Operations From One Rule

Comments
7 min read
Linked Lists — The Chain You'll See in Every Interview

Linked Lists — The Chain You'll See in Every Interview

3
Comments
3 min read
DSA Application in Real Life: How Git Diff Works: LCS Intuition, Myers Algorithm, and Real Code Changes

DSA Application in Real Life: How Git Diff Works: LCS Intuition, Myers Algorithm, and Real Code Changes

Comments
14 min read
Modernization Strategies for Critical Transactional Systems

Modernization Strategies for Critical Transactional Systems

Comments
8 min read
Python Boolean Expression Evaluation Explained

Python Boolean Expression Evaluation Explained

Comments
4 min read
Counting a Billion Things With 1.5 Kilobytes

Counting a Billion Things With 1.5 Kilobytes

Comments
9 min read
🌸 Bloom Filters Explained Like You're 5

🌸 Bloom Filters Explained Like You're 5

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