Forem

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
I Couldn't Optimize Max Sum Min-Product Until I Flipped the Question
Cover image for I Couldn't Optimize Max Sum Min-Product Until I Flipped the Question

I Couldn't Optimize Max Sum Min-Product Until I Flipped the Question

Comments
5 min read
Solving LeetCode 2553: Separate the Digits in an Array using Java
Cover image for Solving LeetCode 2553: Separate the Digits in an Array using Java

Solving LeetCode 2553: Separate the Digits in an Array using Java

Comments
2 min read
LeetCode Solution: 1. Two Sum

LeetCode Solution: 1. Two Sum

Comments 3
6 min read
Am I Ready for FAANG? A Better Test Than Solving More LeetCode
Cover image for Am I Ready for FAANG? A Better Test Than Solving More LeetCode

Am I Ready for FAANG? A Better Test Than Solving More LeetCode

Comments
7 min read
Remove Duplicate Letters: I Knew Monotonic Stacks, But This Problem Still Got Me
Cover image for Remove Duplicate Letters: I Knew Monotonic Stacks, But This Problem Still Got Me

Remove Duplicate Letters: I Knew Monotonic Stacks, But This Problem Still Got Me

Comments
5 min read
Backtracking Algorithm Explained: An N-Queens Walkthrough
Cover image for Backtracking Algorithm Explained: An N-Queens Walkthrough

Backtracking Algorithm Explained: An N-Queens Walkthrough

Comments 1
6 min read
How to learn Data Structure

How to learn Data Structure

1
Comments
1 min read
AlgoExpert vs NeetCode: The Interview Skill Neither One Actually Trains
Cover image for AlgoExpert vs NeetCode: The Interview Skill Neither One Actually Trains

AlgoExpert vs NeetCode: The Interview Skill Neither One Actually Trains

Comments 3
6 min read
Optimizing Generosity: A Greedy Approach to LeetCode 455 (Assign Cookies)
Cover image for Optimizing Generosity: A Greedy Approach to LeetCode 455 (Assign Cookies)

Optimizing Generosity: A Greedy Approach to LeetCode 455 (Assign Cookies)

1
Comments
2 min read
Arrays & Hashing: A Beginner’s Guide to the Most Important Pattern in DSA

Arrays & Hashing: A Beginner’s Guide to the Most Important Pattern in DSA

Comments 2
4 min read
LeetCode 66: Plus One — Simple Explanation with Carry Logic (Java)
Cover image for LeetCode 66: Plus One — Simple Explanation with Carry Logic (Java)

LeetCode 66: Plus One — Simple Explanation with Carry Logic (Java)

3
Comments 1
3 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)
Cover image for 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
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
LeetCode Solution: 12. Integer to Roman

LeetCode Solution: 12. Integer to Roman

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