DEV Community

# leetcode

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
LeetCode Solution: 74. Search a 2D Matrix

LeetCode Solution: 74. Search a 2D Matrix

Comments
6 min read
Why My Sliding Window Solution Was Wrong (And What I Learned)

Why My Sliding Window Solution Was Wrong (And What I Learned)

Comments
2 min read
🔥 From 1 Day 100 Days. This Changed Everything.

🔥 From 1 Day 100 Days. This Changed Everything.

Comments
1 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
Solve Leetcode without leaving your terminal.

Solve Leetcode without leaving your terminal.

Comments
1 min read
2078. Two Furthest Houses With Different Colors

2078. Two Furthest Houses With Different Colors

Comments
4 min read
I Solved 200 LeetCode Problems and Still Froze in Interviews

I Solved 200 LeetCode Problems and Still Froze in Interviews

Comments 3
5 min read
Pattern: sliding window (Variable window)

Pattern: sliding window (Variable window)

Comments
1 min read
LeetCode 3548: Count Good Integers on Path — Digit DP Visualized Step by Step

LeetCode 3548: Count Good Integers on Path — Digit DP Visualized Step by Step

Comments
4 min read
LeetCode 3550: Multi Source Flood Fill — Step-by-Step Visual Trace

LeetCode 3550: Multi Source Flood Fill — Step-by-Step Visual Trace

Comments
1 min read
LeetCode 3549: Smallest Stable Index II — Step-by-Step Visual Trace

LeetCode 3549: Smallest Stable Index II — Step-by-Step Visual Trace

Comments
1 min read
LeetCode 3547: Smallest Stable Index I — Step-by-Step Visual Trace

LeetCode 3547: Smallest Stable Index I — Step-by-Step Visual Trace

Comments
1 min read
Maximizing 1s with a Single Flip: An Elegant Application of Kadane's Algorithm

Maximizing 1s with a Single Flip: An Elegant Application of Kadane's Algorithm

3
Comments
3 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
👋 Sign in for the ability to sort posts by relevant, latest, or top.