DEV Community

# datastructures

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Building a Boggle solver: DFS meets the trie, and why naive recursion blows up

Building a Boggle solver: DFS meets the trie, and why naive recursion blows up

Comments
4 min read
Understanding Merkle Trees: a Rust Implementation with Blockchain Examples

Understanding Merkle Trees: a Rust Implementation with Blockchain Examples

Comments
1 min read
Largest Subarray with 0 sum

Largest Subarray with 0 sum

Comments
2 min read
Big O Notation explained

Big O Notation explained

1
Comments
2 min read
Data Structures in Swift: What Every iOS Developer Should Know in 2026

Data Structures in Swift: What Every iOS Developer Should Know in 2026

4
Comments
4 min read
I Tried Two Pointers on a DP Problem and Learned What "Subset" Actually Means

I Tried Two Pointers on a DP Problem and Learned What "Subset" Actually Means

Comments
6 min read
The Protocol Behind Python's Containers

The Protocol Behind Python's Containers

2
Comments
5 min read
I Couldn't See Why dp[i] = dp[i+1] + dp[i+2] Actually Counts Anything

I Couldn't See Why dp[i] = dp[i+1] + dp[i+2] Actually Counts Anything

Comments
6 min read
Hash Tables (And Why You Should Care)

Hash Tables (And Why You Should Care)

4
Comments
3 min read
Signals, Effects, and the Algebra Between Them

Signals, Effects, and the Algebra Between Them

Comments
6 min read
Why My "Optimized" Iterative Tree Traversal Was Slower Than Recursion

Why My "Optimized" Iterative Tree Traversal Was Slower Than Recursion

Comments 2
4 min read
How Search Algorithms Work — From DFS and BFS to A*

How Search Algorithms Work — From DFS and BFS to A*

Comments
3 min read
LeetCode 124: Binary Tree Maximum Path Sum — Step-by-Step Visual Trace

LeetCode 124: Binary Tree Maximum Path Sum — Step-by-Step Visual Trace

Comments
1 min read
LeetCode 105: Construct Binary Tree From Preorder And Inorder Traversal — Step-by-Step Visual Trace

LeetCode 105: Construct Binary Tree From Preorder And Inorder Traversal — Step-by-Step Visual Trace

Comments
1 min read
LeetCode 572: Subtree Of Another Tree — Step-by-Step Visual Trace

LeetCode 572: Subtree Of Another Tree — Step-by-Step Visual Trace

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