DEV Community

# datastructures

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Heap Quest: How I Learned to Stop Worrying and Love the Priority Queue (Like Neo Seeing the Matrix)

Heap Quest: How I Learned to Stop Worrying and Love the Priority Queue (Like Neo Seeing the Matrix)

Comments
5 min read
🚀 LeetCode 329: Longest Increasing Path in a Matrix (DFS + Memoization) | Easy Explanation

🚀 LeetCode 329: Longest Increasing Path in a Matrix (DFS + Memoization) | Easy Explanation

5
Comments
4 min read
Big O Notation: Why Your Code Breaks at Scale (And How to Fix It)

Big O Notation: Why Your Code Breaks at Scale (And How to Fix It)

Comments
16 min read
The Dot Ecosystem: From Simple Paths to Data Algebras

The Dot Ecosystem: From Simple Paths to Data Algebras

Comments
7 min read
Why Dynamic Programming Feels Impossible (And the 5 Patterns That Fix It)

Why Dynamic Programming Feels Impossible (And the 5 Patterns That Fix It)

Comments
4 min read
The Interview Prep Mistake That Kept Holding Me Back

The Interview Prep Mistake That Kept Holding Me Back

Comments
1 min read
Stacks — The Simple Data Structure Every Developer Should Know

Stacks — The Simple Data Structure Every Developer Should Know

1
Comments
4 min read
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
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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.