### Insert Delete GetRandom O(1) | Solution Explained

LeetCode 380. Insert Delete GetRandom O(1) is an implementation based question, requiring us to know the time complexities...

### Next Greater Element I | Solution Explained + Stack Optimization

LeetCode 496. Next Greater Element I is a simple problem, since brute-force solution can get accepted. But, we...

### Path Sum III | Solution Explained

LeetCode 437. Path Sum III. I explain the brute-force solution and the optimized solutions in detail for reducing...

### Best Time to Buy and Sell Stock | A Compilation of Solutions

Best Time to Buy and Sell Stock is a popular series of problems on LeetCode. In this...

### Best Time to Buy and Sell Stock with Cooldown | Solution Explained

LeetCode 309. Best Time to Buy and Sell Stock with Cooldown. I solve this problem using recursion. Solution...

### Guess Number Higher or Lower | LeetCode | Solution Explained

374. Guess Number Higher or Lower LeetCode is based on the understanding of binary search, and how we...

### Dungeon Game | LeetCode | Solution Explained

Dungeon Game is a Hard level problem on LeetCode, requiring us to break the problem down into...

### Longest Common Subsequence | LeetCode | Solution Explained

Longest Common Subsequence. One of the most popular string DP questions. I explain the logic with recursive...