DEV Community

#datastructures

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Why Repeatedly Halving an Array is O(log n), Not Linear

Why Repeatedly Halving an Array is O(log n), Not Linear

Comments
3 min read
The Fellowship of the Graph: Why BFS Beats the Maze

The Fellowship of the Graph: Why BFS Beats the Maze

1
Comments
4 min read
Recursion in C++ Explained Simply: Base Case, Call Stack, LIFO and Stack Overflow

Recursion in C++ Explained Simply: Base Case, Call Stack, LIFO and Stack Overflow

3
Comments 7
6 min read
The Monotonic Stack: Like Gandalf's Staff for Array Problems

The Monotonic Stack: Like Gandalf's Staff for Array Problems

Comments
4 min read
Best Data Grid for Python Dash in 2026

Best Data Grid for Python Dash in 2026

6
Comments
5 min read
House Robber: The DP Heist (Ocean's Eleven Style)

House Robber: The DP Heist (Ocean's Eleven Style)

Comments
4 min read
Selection Sort Explained With a Bookshelf Story (With Code)

Selection Sort Explained With a Bookshelf Story (With Code)

5
Comments
4 min read
The Priority Queue: My Jedi Training with Heaps

The Priority Queue: My Jedi Training with Heaps

Comments
5 min read
Autocomplete Like Neo: Building a Trie from Scratch

Autocomplete Like Neo: Building a Trie from Scratch

1
Comments
4 min read
BFS: The Jedi’s Shortcut Through the Graph Galaxy

BFS: The Jedi’s Shortcut Through the Graph Galaxy

Comments
5 min read
Sliding Window: The Force Awakens – Detect the Pattern and Never Get Stuck Again

Sliding Window: The Force Awakens – Detect the Pattern and Never Get Stuck Again

Comments
5 min read
🚀 BFS: The Jedi Mind Trick for Graph Traversal (Why It’s More Than Just a Queue)

🚀 BFS: The Jedi Mind Trick for Graph Traversal (Why It’s More Than Just a Queue)

Comments
5 min read
The Trie Treasure Hunt: Building Autocomplete Like a Jedi

The Trie Treasure Hunt: Building Autocomplete Like a Jedi

Comments
4 min read
Top 10 DSA Patterns for Software Engineers

Top 10 DSA Patterns for Software Engineers

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