This collection features my detailed solutions to a wide range of LeetCode algorithm questions. Whether you're preparing for technical interviews at top-tier companies or simply looking to enhance your coding skills, you'll find a wealth of valuable insights and problem-solving approaches here. Feel free to explore, learn, and contribute to this growing resource. Happy coding!
https://leetcode.com/studyplan/leetcode-75/
| # | Problem | Solution |
|---|---|---|
| 283 | Move Zeroes | python3 |
| 392 | Is Subsequence | python3 |
| 11 | Container With Most Water | python3 |
| 1679 | Max Number of K-Sum Pairs | python3 |
| # | Problem | Solution |
|---|---|---|
| 1732 | Find the Highest Altitude | python3 |
| 724 | Find Pivot Index | python3 |
| # | Problem | Solution |
|---|---|---|
| 2215 | Find the Difference of Two Arrays | python3 |
| 1207 | Unique Number of Occurrences | python3 |
| 1657 | Determine if Two Strings Are Close | python3 |
| 2352 | Equal Row and Column Pairs | python3 |
| # | Problem | Solution |
|---|---|---|
| 2390 | Removing Stars From a String | python3 |
| 735 | Asteroid Collision | python3 |
| 394 | Decode String | python3 |
| # | Problem | Solution |
|---|---|---|
| 933 | Number of Recent Calls | python3 |
| 649 | Dota2 Senate | python3 |
| # | Problem | Solution |
|---|---|---|
| 2095 | Delete the Middle Node of a Linked List | python3 |
| 328 | Odd Even Linked List | python3 |
| 206 | Reverse Linked List | python3 |
| 2130 | Maximum Twin Sum of a Linked List | python3 |
| # | Problem | Solution |
|---|---|---|
| 104 | Maximum Depth of Binary Tree | python3 |
| 872 | Leaf-Similar Trees | python3 |
| 1448 | Count Good Nodes in Binary Tree | python3 |
| 437 | Path Sum III | python3 |
| 1372 | Longest ZigZag Path in a Binary Tree | python3 |
| 236 | Lowest Common Ancestor of a Binary Tree | python3 |
| # | Problem | Solution |
|---|---|---|
| 199 | Binary Tree Right Side View | python3 |
| 1161 | Maximum Level Sum of a Binary Tree | python3 |
| # | Problem | Solution |
|---|---|---|
| 700 | Search in a Binary Search Tree | python3 |
| 450 | Delete Node in a BST | python3 |
| # | Problem | Solution |
|---|---|---|
| 841 | Keys and Rooms | python3 |
| 547 | Number of Provinces | python3 |
| 1466 | Reorder Routes to Make All Paths Lead to the City Zero | python3 |
| 399 | Evaluate Division | python3 |
| # | Problem | Solution |
|---|---|---|
| 1926 | Nearest Exit from Entrance in Maze | python3 |
| 994 | Rotting Oranges | python3 |
| # | Problem | Solution |
|---|---|---|
| 215 | Kth Largest Element in an Array | python3 |
| 2336 | Smallest Number in Infinite Set | python3 |
| 2542 | Maximum Subsequence Score | python3 |
| 2462 | Total Cost to Hire K Workers | python3 |
| # | Problem | Solution |
|---|---|---|
| 374 | Guess Number Higher or Lower | python3 |
| 2300 | Successful Pairs of Spells and Potions | python3 |
| 162 | Find Peak Element | python3 |
| 875 | Koko Eating Bananas | python3 |
| # | Problem | Solution |
|---|---|---|
| 17 | Letter Combinations of a Phone Number | python3 |
| 216 | Combination Sum III | python3 |
| # | Problem | Solution |
|---|---|---|
| 1137 | N-th Tribonacci Number | python3 |
| 746 | Min Cost Climbing Stairs | python3 |
| 198 | House Robber | python3 |
| 790 | Domino and Tromino Tiling | python3 |
| # | Problem | Solution |
|---|---|---|
| 62 | Unique Paths | python3 |
| 1143 | Longest Common Subsequence | python3 |
| 714 | Best Time to Buy and Sell Stock with Transaction Fee | python3 |
| 72 | Edit Distance | python3 |
| # | Problem | Solution |
|---|---|---|
| 338 | Counting Bits | python3 |
| 136 | Single Number | python3 |
| 1318 | Minimum Flips to Make a OR b Equal to c | python3 |
| # | Problem | Solution |
|---|---|---|
| 208 | Implement Trie (Prefix Tree) | python3 |
| 1268 | Search Suggestions System | python3 |
| # | Problem | Solution |
|---|---|---|
| 435 | Non-overlapping Intervals | python3 |
| 452 | Minimum Number of Arrows to Burst Balloons | python3 |
| # | Problem | Solution |
|---|---|---|
| 739 | Daily Temperatures | python3 |
| 901 | Online Stock Span | python3 |
https://leetcode.com/studyplan/top-interview-150/
| # | Problem | Solution |
|---|---|---|
| 125 | Valid Palindrome | python3 |
| 392 | Is Subsequence | python3 |
| 167 | Two Sum II - Input Array Is Sorted | python3 |
| 11 | Container With Most Water | python3 |
| 15 | 3Sum | python3 |
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|---|---|
| 36 | Valid Sudoku | python3 |
| 54 | Spiral Matrix | python3 |
| 48 | Rotate Image | python3 |
| 73 | Set Matrix Zeroes | python3 |
| 289 | Game of Life | python3 |
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|
| # | Problem | Solution |
|---|