Progress Tracker:
Below are the LeetCode solutions in Python with corresponding tutorials/walkthroughs. If there is a special request for solutions, reach out!
| Number & Name | Repo | Video Tutorial |
|---|---|---|
| 1. Two Sum | Link | Tutorial |
| 2. Add Two Numbers | Link | Tutorial |
| 3. Longest Substring Without Repeating Characters | Link | Tutorial |
| 4. Median of Two Sorted Arrays | Link | Tutorial |
| 5. Longest Palindromic Substring | Link | Tutorial |
| 6. Zigzag Conversion | Link | Tutorial |
| 7. Reverse Integer | Link | Tutorial |
| 8. String to Integer (atoi) | Link | Tutorial |
| 9. Palindrome Number | Link | Tutorial |
| 10. Regular Expression Matching | Link | Tutorial |
| 11. Container With Most Water | Link | Tutorial |
| 12. Integer to Roman | Link | Tutorial |
| 13. Roman to Integer | Link | Tutorial |
| 14. Longest Common Prefix | Link | Tutorial |
| 15. 3Sum | Link | Tutorial |
| 16. 3Sum Closest | Link | Tutorial |
| 17. Letter Combinations of a Phone Number | Link | Tutorial |
| 18. 4Sum | Link | Tutorial |
| 19. Remove Nth Node From End of List | Link | Tutorial |
| 20. Valid Parentheses | Link | Tutorial |
| 21. Merge Two Sorted Lists | Link | Tutorial |
| 22. Generate Parentheses | Link | Tutorial |
| 23. Merge k Sorted Lists | Link | Tutorial |
| 24. Swap Nodes in Pairs | Link | Tutorial |
| 25. Reverse Nodes in k-Group | Link | Tutorial |
| 26. Remove Duplicates from Sorted Array | Link | Tutorial |
| 27. Remove Element | Link | Tutorial |
| 28. Find the Index of the First Occurrence in a String | Link | Tutorial |
| 29. Divide Two Integers | Link | Tutorial |
| 30. Substring with Concatenation of All Words | Link | Tutorial |
| 31. Next Permutation | Link | Tutorial |
| 32. Longest Valid Parentheses | Link | Tutorial |
| 33. Search in Rotated Sorted Array | Link | Tutorial |
| 34. Find First and Last Position of Element in Sorted Array | Link | Tutorial |
| 35. Search Insert Position | Link | Tutorial |
| 36. Valid Sudoku | Link | Tutorial |
| 37. Sudoku Solver | Link | Tutorial |
| 38. Count and Say | Link | Tutorial |
| 39. Combination Sum | Link | Tutorial |
| 40. Combination Sum II | Link | Tutorial |
| 41. First Missing Positive | Link | Tutorial |
| 42. Trapping Rain Water | Link | Tutorial |
| 43. Multiply Strings | Link | Tutorial |
| 44. Wildcard Matching | Link | Tutorial |
| 45. Jump Game II | Link | Tutorial |
| 46. Permutations | Link | Tutorial |
| 47. Permutations II | Link | Tutorial |
| 48. Rotate Image | Link | Tutorial |
| 49. Group Anagrams | Link | Tutorial |
| 50. Pow(x, n) | Link | Tutorial |
| 51. N-Queens | Link | Tutorial |
| 52. N-Queens II | Link | Tutorial |
| 53. Maximum Subarray | Link | Tutorial |
| 54. Spiral Matrix | Link | Tutorial |
| 55. Jump Game | Link | Tutorial |
| 56. Merge Intervals | Link | Tutorial |
| 57. Insert Interval | Link | Tutorial |
| 58. Length of Last Word | Link | Tutorial |
| 59. Spiral Matrix II | Link | Tutorial |
| 60. Permutation Sequence | Link | Tutorial |
| 61. Rotate List | Link | Tutorial |
| 62. Unique Paths | Link | Tutorial |
| 63. Unique Paths II | Link | Tutorial |
| 64. Minimum Path Sum | Link | Tutorial |
| 65. Valid Number | Link | Tutorial |
| 66. Plus One | Link | Tutorial |
| 67. Add Binary | Link 1 Link 2 | Tutorial |
| 68. Text Justification | Link | Tutorial |
| 69. Sqrt(x) | Link | Tutorial |
| 70. Climbing Stairs | Link | Tutorial |
| 71. Simplify Path | Link | Tutorial |
| 72. Edit Distance | Link | Tutorial |
| 73. Set Matrix Zeroes | Link | Tutorial |
| 74. Search a 2D Matrix | Link | Tutorial |
| 75. Sort Colors | Link | Tutorial |
| 76. Minimum Window Substring | Link | Tutorial |
| 77. Combinations | Link | Tutorial |
| 78. Subsets | Link | Tutorial |
| 79. Word Search | Link | Tutorial |
| 80. Remove Duplicates from Sorted Array II | Link | Tutorial |
| 81. Search in Rotated Sorted Array II | Link | Tutorial |
| 82. Remove Duplicates from Sorted List II | Link | Tutorial |
| 83. Remove Duplicates from Sorted List | Link | Tutorial |
| 84. Largest Rectangle in Histogram | Link | Tutorial |
| 85. Maximal Rectangle | Link | Tutorial |
| 86. Partition List | Link | Tutorial |
| 87. Scramble String | Link | Tutorial |
| 88. Merge Sorted Array | Link | Tutorial |
| 89. Gray Code | Link | Tutorial |
| 90. Subsets II | Link | Tutorial |
| 91. Decode Ways | Link | Tutorial |
| 92. Reverse Linked List II | Link | Tutorial |
| 93. Restore IP Addresses | Link | Tutorial |
| 94. Binary Tree Inorder Traversal | Link | Tutorial |
| 95. Unique Binary Search Trees II | Link | Tutorial |
| 96. Unique Binary Search Trees | Link | Tutorial |
| 97. Interleaving String | Link | Tutorial |
| 98. Validate Binary Search Tree | Link | Tutorial |
| 99. Recover Binary Search Tree | Link | Tutorial |
| 100. Same Tree | Link | Tutorial |
| --- | Link | Tutorial |
| 139. Word Break | Link | Tutorial |
| --- | Link | Tutorial |
| 920. Number of Music Playlists | Link | Tutorial |
| Question | Category | Python Solution | JavaScript Solution | C++ Solution | PHP Solution | GO Solution | Video Tutorial |
|---|---|---|---|---|---|---|---|
| Two Sum | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Best Time to Buy and Sell Stock | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Contains Duplicate | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Product of Array Except Self | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Maximum Subarray | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Maximum Product Subarray | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Find Minimum in Rotated Sorted Array | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Search in Rotated Sorted Array | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| 3Sum | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Container With Most Water | Array | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Sum of Two Integers | Binary | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Number of 1 Bits | Binary | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Counting Bits | Binary | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Missing Number | Binary | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Reverse Bits | Binary | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Climbing Stairs | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Coin Change | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Longest Increasing Subsequence | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Longest Common Subsequence | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Word Break Problem | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Combination Sum | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| House Robber | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| House Robber II | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Decode Ways | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Unique Paths | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Jump Game | Dynamic Programming | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Clone Graph | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Course Schedule | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Pacific Atlantic Water Flow | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Number of Islands | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Longest Consecutive Sequence | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Alien Dictionary | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Graph Valid Tree | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Number of Connected Components in an Undirected Graph | Graph | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Insert Interval | Interval | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Merge Intervals | Interval | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Non-overlapping Intervals | Interval | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Meeting Rooms | Interval | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Meeting Rooms II | Interval | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Reverse a Linked List | Linked List | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Detect Cycle in a Linked List | Linked List | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Merge Two Sorted Lists | Linked List | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Merge K Sorted Lists | Linked List | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Remove Nth Node From End Of List | Linked List | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Reorder List | Linked List | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Set Matrix Zeroes | Matrix | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Spiral Matrix | Matrix | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Rotate Image | Matrix | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Word Search | Matrix | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Longest Substring Without Repeating Characters | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Longest Repeating Character Replacement | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Minimum Window Substring | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Valid Anagram | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Group Anagrams | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Valid Parentheses | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Valid Palindrome | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Longest Palindromic Substring | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Palindromic Substrings | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Encode and Decode Strings | String | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Maximum Depth of Binary Tree | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Same Tree | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Invert/Flip Binary Tree | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Binary Tree Maximum Path Sum | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Binary Tree Level Order Traversal | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Serialize and Deserialize Binary Tree | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Subtree of Another Tree | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Construct Binary Tree from Preorder and Inorder Traversal | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Validate Binary Search Tree | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Kth Smallest Element in a BST | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Lowest Common Ancestor of BST | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Implement Trie (Prefix Tree) | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Add and Search Word | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Word Search II | Tree | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Merge K Sorted Lists | Heap | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Top K Frequent Elements | Heap | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
| Find Median from Data Stream | Heap | Python | JavaScript | C++ | PHP | GO | Watch Tutorial |
Here are the daily solutions for Juleetcode 2023 for Python (not Python3).
Enjoy the code solutions as well as video tutorials I've made so I can practice working on explaining my work while I'm doing it. Please feel free to contribute!
| Day | Repo | Video Tutorial |
|---|---|---|
| Day 1 - 2305 | Link | YouTube |
| Day 2 - 1601 | Link | YouTube |
| Day 3 - 859 | Link | YouTube |
| Day 4 - 137 | Link | YouTube |
| Day 5 - 1493 | Link | YouTube |
| Day 6 - 209 | Link | YouTube |
| Day 7 - 2024 | Link | YouTube |
| Day 8 - 2551 | Link | YouTube |
| Day 9 - 2272 | Link | YouTube |
| Day 10 - 111 | Link | YouTube |
| Day 11 - 863 | Link | YouTube |
| Day 12 - 802 | Link | YouTube |
| Day 13 - 207 | Link | YouTube |
| Day 14 - 1218 | Link | YouTube |
| Day 15 - 1751 | Link | YouTube |
| Day 16 - 1125 | Link | YouTube |
| Day 17 - 445 | Link | YouTube |
| Day 18 - 146 | Link | YouTube |
| Day 19 - 435 | Link | YouTube |
| Day 20 - 735 | Link | YouTube |
| Day 21 - 673 | Link | YouTube |
| Day 22 - 688 | Link | YouTube |
| Day 23 - 894 | Link | YouTube |
| Day 24 - 50 | Link | YouTube |
| Day 25 - 852 | Link | YouTube |
| Day 26 - 1870 | Link | YouTube |
| Day 27 - 2141 | Link | YouTube |
| Day 28 - 486 | Link | YouTube |
| Day 29 - 808 | Link | YouTube |
| Day 30 - 664 | Link | YouTube |
| Day 31 - 712 | Link | YouTube |
Below are the LeetCode solutions in Rust with corresponding tutorials/walkthroughs
| Number & Name | Repo | Video Tutorial |
|---|---|---|
| 1 | Link | Tutorial |
| 2 | Link | Tutorial |
| 3 | Link | Tutorial |
| --- | Link | Tutorial |
| --- | Link | Tutorial |
| --- | Link | Tutorial |
| --- | Link | Tutorial |
| --- | Link | Tutorial |
| 852 | Link | Tutorial |