DEV Community

# datastructures

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
I Understood Monotonic Stacks When I Stopped Thinking About Stacks

I Understood Monotonic Stacks When I Stopped Thinking About Stacks

Comments
6 min read
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
Why Grinding 500 LeetCode Problems is a Trap in 2026

Why Grinding 500 LeetCode Problems is a Trap in 2026

1
Comments 1
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
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
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
Java Map internals: a complete guide for juniors

Java Map internals: a complete guide for juniors

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

Signals, Effects, and the Algebra Between Them

Comments
6 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
LeetCode 98: Validate Binary Search Tree — Step-by-Step Visual Trace

LeetCode 98: Validate Binary Search Tree — Step-by-Step Visual Trace

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