DEV Community

#leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
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
Interview Sheet Q2:- 121. Best Time to Buy and Sell Stock

Interview Sheet Q2:- 121. Best Time to Buy and Sell Stock

Comments 1
1 min read
Backtracking Algorithm Explained: An N-Queens Walkthrough

Backtracking Algorithm Explained: An N-Queens Walkthrough

Comments 1
6 min read
LeetCode Solution: 10. Regular Expression Matching

LeetCode Solution: 10. Regular Expression Matching

Comments 1
7 min read
LeetCode Solution: 12. Integer to Roman

LeetCode Solution: 12. Integer to Roman

Comments 1
7 min read
LeetCode Solution: 10. Regular Expression Matching

LeetCode Solution: 10. Regular Expression Matching

Comments 1
7 min read
LeetCode Solution: 13. Roman to Integer

LeetCode Solution: 13. Roman to Integer

Comments 1
5 min read
AVL Trees Explained: How Rotations Keep BST Operations O(log n)

AVL Trees Explained: How Rotations Keep BST Operations O(log n)

2
Comments
8 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
Median of Two Sorted Arrays — LeetCode #4 (Hard)

Median of Two Sorted Arrays — LeetCode #4 (Hard)

Comments
4 min read
Longest Substring Without Repeating Characters — LeetCode #3 (Medium)

Longest Substring Without Repeating Characters — LeetCode #3 (Medium)

Comments
3 min read
LeetCode Solution: 12. Integer to Roman

LeetCode Solution: 12. Integer to Roman

Comments 1
5 min read
Add Two Numbers — LeetCode #2 (Medium)

Add Two Numbers — LeetCode #2 (Medium)

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