DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
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
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 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
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 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
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
Leetcode # 107. Binary Tree Level Order Traversal II

Leetcode # 107. Binary Tree Level Order Traversal II

Comments
2 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
Algorithmic intuition matters more than problem count in coding interviews

Algorithmic intuition matters more than problem count in coding interviews

Comments 2
7 min read
How to Prove Your Algorithm Works in a Coding Interview

How to Prove Your Algorithm Works in a Coding Interview

Comments 2
6 min read
I built a free LeetCode visualizer. Here's what I learned making 207 problems animate line by line.

I built a free LeetCode visualizer. Here's what I learned making 207 problems animate line by line.

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