https://github.com/ahmad-masud/leetcode-solutions
Solutions to LeetCode problems, complete with code solutions and accompanying YouTube videos. These solutions are fetched by CompCode to help users prepare effectively for coding interviews.
https://github.com/ahmad-masud/leetcode-solutions
leetcode leetcode-python leetcode-solutions python python3
Last synced: 8 months ago
JSON representation
Solutions to LeetCode problems, complete with code solutions and accompanying YouTube videos. These solutions are fetched by CompCode to help users prepare effectively for coding interviews.
- Host: GitHub
- URL: https://github.com/ahmad-masud/leetcode-solutions
- Owner: ahmad-masud
- License: mit
- Created: 2024-11-10T09:50:50.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-12-01T08:22:01.000Z (11 months ago)
- Last Synced: 2025-02-09T17:04:43.342Z (8 months ago)
- Topics: leetcode, leetcode-python, leetcode-solutions, python, python3
- Language: Python
- Homepage: https://compcode.tech
- Size: 185 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# LeetCode solutions for [CompCode](https://compcode.tech)
## Arrays & Strings
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 2239 | [Find Closest Number to Zero](https://leetcode.com/problems/find-closest-number-to-zero) | [✔️](solutions/2239/solution1/code.py) [✔️](solutions/2239/solution2/code.py) | [✔️](https://www.youtube.com/embed/8VOP4Mm4nFs?si=GMR-G8DNP7sHt-s8) |
| 1768 | [Merge Strings Alternately](https://leetcode.com/problems/merge-strings-alternately) | [✔️](solutions/1768/solution1/code.py) | [✔️](https://www.youtube.com/embed/6tqnIGynncU?si=H1Pz6ncVs3a_F5cK) |
| 13 | [Roman to Integer](https://leetcode.com/problems/roman-to-integer) | [✔️](solutions/13/solution1/code.py) | [✔️](https://www.youtube.com/embed/iK0CCGldvw4?si=iogrXudOQp946u2P) |
| 14 | [Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix) | [✔️](solutions/14/solution1/code.py) | [✔️](https://www.youtube.com/embed/ALgs0EH1jTo?si=Ei5TxWCCkwmfXhCm) |
| 228 | [Summary Ranges](https://leetcode.com/problems/summary-ranges) | [✔️](solutions/228/solution1/code.py) | [✔️](https://www.youtube.com/embed/9TzRVIW3Gpk?si=iZYrbL40MzcJuWcM) |
| 238 | [Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self) | [✔️](solutions/238/solution1/code.py) | [✔️](https://www.youtube.com/embed/htvDp0R3C6s?si=shx2n-PoKUjbDumX) |## Hashmaps & Sets
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 1 | [Two Sum](https://leetcode.com/problems/two-sum) | [✔️](solutions/1/solution1/code.py) [✔️](solutions/1/solution2/code.py) | [✔️](https://www.youtube.com/embed/oetyCTdewlU?si=YVht9LVdy8bIOfaa) |
| 136 | [Single Number](https://leetcode.com/problems/single-number) | [✔️](solutions/136/solution1/code.py) [✔️](solutions/136/solution2/code.py) [✔️](solutions/136/solution3/code.py) [✔️](solutions/136/solution4/code.py) | [✔️](https://www.youtube.com/embed/YcusSSCLmKQ?si=HaWWVb-YQGNyZv7z) |
| 347 | [Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements) | [✔️](solutions/347/solution1/code.py) [✔️](solutions/347/solution2/code.py) [✔️](solutions/347/solution3/code.py) | [✔️](https://www.youtube.com/embed/-kBTgY7E0EU?si=w2wfHWgAdTk1zDKd) |
| 349 | [Intersection of Two Arrays](https://leetcode.com/problems/intersection-of-two-arrays) | [✔️](solutions/349/solution1/code.py) [✔️](solutions/349/solution2/code.py) [✔️](solutions/349/solution3/code.py) | [✔️](https://www.youtube.com/embed/Lcj_cuZUy68?si=3Gqo9JgWimF9MuRB) |
| 242 | [Valid Anagram](https://leetcode.com/problems/valid-anagram) | [✔️](solutions/242/solution1/code.py) [✔️](solutions/242/solution2/code.py) [✔️](solutions/242/solution3/code.py) [✔️](solutions/242/solution4/code.py) | [✔️](https://www.youtube.com/embed/KG9GTX9oqss?si=IIPKz_m82uKnPfSe) |
| 205 | [Isomorphic Strings](https://leetcode.com/problems/isomorphic-strings) | [✔️](solutions/205/solution1/code.py) | [✔️](https://www.youtube.com/embed/vlyFirJRYjE?si=e1eUJe_B6afb8yNT) |
| 36 | [Valid Sudoku](https://leetcode.com/problems/valid-sudoku) | [✔️](solutions/36/solution1/code.py) [✔️](solutions/36/solution2/code.py) [✔️](solutions/36/solution3/code.py) | [✔️](https://www.youtube.com/embed/IL2tJYA38-s?si=dX4d76oTK3w8V-Gs) |
| 217 | [Contains Duplicate](https://leetcode.com/problems/contains-duplicate) | [✔️](solutions/217/solution1/code.py) [✔️](solutions/217/solution2/code.py) [✔️](solutions/217/solution3/code.py) [✔️](solutions/217/solution4/code.py) [✔️](solutions/217/solution5/code.py) [✔️](solutions/217/solution6/code.py) | [✔️](https://www.youtube.com/embed/HXqyNLDyqp0?si=EFcH5z_209mPw-YR) |## Two Pointers
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 167 | [Two Sum II - Input Array Is Sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted) | [✔️](solutions/167/solution1/code.py) | [✔️](https://www.youtube.com/embed/-gPXrCoJgHE?si=rmf_JEzpk7aqUHIk) |
| 125 | [Valid Palindrome](https://leetcode.com/problems/valid-palindrome) | [✔️](solutions/125/solution1/code.py) | [✔️](https://www.youtube.com/embed/npBCIvCTMBs?si=MK7kvBBrJ3lYWDJp) |
| 344 | [Reverse String](https://leetcode.com/problems/reverse-string) | [✔️](solutions/344/solution1/code.py) [✔️](solutions/344/solution2/code.py) | [✔️](https://www.youtube.com/embed/QmvMuRcnIZ8?si=yll0E7OyDREY5ogu) |
| 121 | [Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock) | [✔️](solutions/121/solution1/code.py) | [✔️](https://www.youtube.com/embed/t5D4F67kmM0?si=hhnGUi3SmfaiITXZ) |
| 11 | [Container With Most Water](https://leetcode.com/problems/container-with-most-water) | [✔️](solutions/11/solution1/code.py) [✔️](solutions/11/solution2/code.py) | [✔️](https://www.youtube.com/embed/SxaQPGj5PLg?si=8N_m2Tk7nHCF1dlB) |
| 763 | [Partition Labels](https://leetcode.com/problems/partition-labels) | [✔️](solutions/763/solution1/code.py) | [✔️](https://www.youtube.com/embed/sry1ERSzKtw?si=_-ezcqOs1CifkhAJ) |
| 88 | [Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array) | [✔️](solutions/88/solution1/code.py) [✔️](solutions/88/solution2/code.py) | [✔️](https://www.youtube.com/embed/RXgUvXvLXAI?si=s7z7yajs6OfrIKV-) |
| 42 | [Trapping Rain Water](https://leetcode.com/problems/trapping-rain-water) | ❌ | ❌ |## Stacks
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------ | ------------------------------------ | ------------------------------------------------------------------- |
| 682 | [Baseball Game](https://leetcode.com/problems/baseball-game/) | ❌ | ❌ |
| 20 | [Valid Parentheses](https://leetcode.com/problems/valid-parentheses) | [✔️](solutions/20/solution1/code.py) | [✔️](https://www.youtube.com/embed/tTIKa0xXYmk?si=vOAx0G9yA9pV4i7l) |
| 155 | [Min Stack](https://leetcode.com/problems/min-stack) | ❌ | ❌ |
| 739 | [Daily Temperatures](https://leetcode.com/problems/daily-temperatures) | ❌ | ❌ |
| 42 | [Trapping Rain Water](https://leetcode.com/problems/trapping-rain-water) | ❌ | ❌ |## Linked Lists
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 206 | [Reverse Linked List](https://leetcode.com/problems/reverse-linked-list) | [✔️](solutions/206/solution1/code.py) [✔️](solutions/206/solution2/code.py) | [✔️](https://www.youtube.com/embed/skePaM3nA2w?si=dG_NH3eyfnq5FMyE) |
| 141 | [Linked List Cycle](https://leetcode.com/problems/linked-list-cycle) | ❌ | ❌ |
| 21 | [Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists) | ❌ | ❌ |
| 19 | [Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list) | ❌ | ❌ |
| 160 | [Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists) | ❌ | ❌ |
| 876 | [Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list) | ❌ | ❌ |
| 143 | [Reorder List](https://leetcode.com/problems/reorder-list) | ❌ | ❌ |
| 92 | [Reverse Linked List II](https://leetcode.com/problems/reverse-linked-list-ii) | ❌ | ❌ |
| 138 | [Copy List with Random Pointer](https://leetcode.com/problems/copy-list-with-random-pointer) | ❌ | ❌ |
| 23 | [Merge k Sorted Lists](https://leetcode.com/problems/merge-k-sorted-lists) | ❌ | ❌ |
| 25 | [Reverse Nodes in k-Group](https://leetcode.com/problems/reverse-nodes-in-k-group) | ❌ | ❌ |
| 61 | [Rotate List](https://leetcode.com/problems/rotate-list) | ❌ | ❌ |
| 24 | [Swap Nodes in Pairs](https://leetcode.com/problems/swap-nodes-in-pairs) | ❌ | ❌ |## Binary Search
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 704 | [Binary Search](https://leetcode.com/problems/binary-search) | [✔️](solutions/704/solution1/code.py) [✔️](solutions/704/solution2/code.py) | [✔️](https://www.youtube.com/embed/PBnAF8zxBVw?si=w7JuvitYAtMSDsSI) |
| 278 | [First Bad Version](https://leetcode.com/problems/first-bad-version) | ❌ | ❌ |
| 35 | [Search Insert Position](https://leetcode.com/problems/search-insert-position) | ❌ | ❌ |
| 374 | [Guess Number Higher or Lower](https://leetcode.com/problems/guess-number-higher-or-lower) | ❌ | ❌ |
| 33 | [Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array) | ❌ | ❌ |
| 34 | [Find First and Last Position of Element in Sorted Array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array) | ❌ | ❌ |
| 852 | [Peak Index in a Mountain Array](https://leetcode.com/problems/peak-index-in-a-mountain-array) | ❌ | ❌ |## Sliding Window
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 209 | [Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum) | [✔️](solutions/209/solution1/code.py) [✔️](solutions/209/solution2/code.py) | [✔️](https://www.youtube.com/embed/qgsXwaG2nvs?si=wpkI_l6-E8zZjpzM) |
| 3 | [Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters) | ❌ | ❌ |
| 424 | [Longest Repeating Character Replacement](https://leetcode.com/problems/longest-repeating-character-replacement) | ❌ | ❌ |
| 567 | [Permutation in String](https://leetcode.com/problems/permutation-in-string) | ❌ | ❌ |
| 76 | [Minimum Window Substring](https://leetcode.com/problems/minimum-window-substring) | ❌ | ❌ |
| 1004 | [Max Consecutive Ones III](https://leetcode.com/problems/max-consecutive-ones-iii) | ❌ | ❌ |
| 239 | [Sliding Window Maximum](https://leetcode.com/problems/sliding-window-maximum) | ❌ | ❌ |## Trees
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 104 | [Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree) | [✔️](solutions/104/solution1/code.py) [✔️](solutions/104/solution2/code.py) [✔️](solutions/104/solution3/code.py) | [✔️](https://www.youtube.com/embed/mypx8ttap7s?si=lSIz4UgxC5vOhQDQ) |
| 226 | [Invert Binary Tree](https://leetcode.com/problems/invert-binary-tree) | [✔️](solutions/226/solution1/code.py) [✔️](solutions/226/solution2/code.py) [✔️](solutions/226/solution3/code.py) [✔️](solutions/226/solution4/code.py) | [✔️](https://www.youtube.com/embed/njhJLhgM8jw?si=CA70QIT6L4PotYB5) |
| 110 | [Balanced Binary Tree](https://leetcode.com/problems/balanced-binary-tree) | ❌ | ❌ |
| 101 | [Symmetric Tree](https://leetcode.com/problems/symmetric-tree) | ❌ | ❌ |
| 543 | [Diameter of Binary Tree](https://leetcode.com/problems/diameter-of-binary-tree) | ❌ | ❌ |
| 94 | [Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal) | [✔️](solutions/94/solution1/code.py) [✔️](solutions/94/solution2/code.py) | [✔️](https://www.youtube.com/embed/MR-F70Hawo8?si=YXJUh-30v4xd-PLh) |
| 700 | [Search in a Binary Search Tree](https://leetcode.com/problems/search-in-a-binary-search-tree) | ❌ | ❌ |
| 701 | [Insert into a Binary Search Tree](https://leetcode.com/problems/insert-into-a-binary-search-tree) | ❌ | ❌ |
| 98 | [Validate Binary Search Tree](https://leetcode.com/problems/validate-binary-search-tree) | ❌ | ❌ |
| 450 | [Delete Node in a BST](https://leetcode.com/problems/delete-node-in-a-bst) | ❌ | ❌ |
| 235 | [Lowest Common Ancestor of a Binary Search Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree) | ❌ | ❌ |
| 530 | [Minimum Absolute Difference in BST](https://leetcode.com/problems/minimum-absolute-difference-in-bst) | ❌ | ❌ |
| 199 | [Binary Tree Right Side View](https://leetcode.com/problems/binary-tree-right-side-view) | ❌ | ❌ |
| 102 | [Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal) | ❌ | ❌ |## Tries
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ------------------------------------------------------------------- |
| 208 | [Implement Trie (Prefix Tree)](https://leetcode.com/problems/implement-trie-prefix-tree) | [✔️](solutions/208/solution1/code.py) | [✔️](https://www.youtube.com/embed/5o_nS5WKaZY?si=4Pz4lB9ojbjiz4SQ) |
| 211 | [Design Add and Search Words Data Structure](https://leetcode.com/problems/design-add-and-search-words-data-structure) | ❌ | ❌ |## Heaps
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 215 | [Kth Largest Element in an Array](https://leetcode.com/problems/kth-largest-element-in-an-array) | ❌ | ❌ |
| 973 | [K Closest Points to Origin](https://leetcode.com/problems/k-closest-points-to-origin) | ❌ | ❌ |
| 703 | [Kth Largest Element in a Stream](https://leetcode.com/problems/kth-largest-element-in-a-stream) | ❌ | ❌ |
| 295 | [Find Median from Data Stream](https://leetcode.com/problems/find-median-from-data-stream) | ❌ | ❌ |
| 1046 | [Last Stone Weight](https://leetcode.com/problems/last-stone-weight) | [✔️](solutions/1046/solution1/code.py) [✔️](solutions/1046/solution2/code.py) [✔️](solutions/1046/solution3/code.py) | [✔️](https://www.youtube.com/embed/TECAKV7m2F0?si=mSh8pl_lNoRgGHxs) |## Intervals
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------------------ | ------------------------------------ | ------------------------------------------------------------------- |
| 56 | [Merge Intervals](https://leetcode.com/problems/merge-intervals) | [✔️](solutions/56/solution1/code.py) | [✔️](https://www.youtube.com/embed/E57bGEyDW_A?si=prTr4CpD9VHoyz_Q) |
| 57 | [Insert Interval](https://leetcode.com/problems/insert-interval) | ❌ | ❌ |
| 435 | [Non-overlapping Intervals](https://leetcode.com/problems/non-overlapping-intervals) | ❌ | ❌ |
| 252 | [Meeting Rooms](https://leetcode.com/problems/meeting-rooms) | ❌ | ❌ |
| 253 | [Meeting Rooms II](https://leetcode.com/problems/meeting-rooms-ii) | ❌ | ❌ |## Backtracking
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 46 | [Permutations](https://leetcode.com/problems/permutations) | ❌ | ❌ |
| 78 | [Subsets](https://leetcode.com/problems/subsets) | [✔️](solutions/78/solution1/code.py) [✔️](solutions/78/solution2/code.py) | [✔️](https://www.youtube.com/embed/GHtOJN7RX-0?si=A1OHau29Wj7RQsUY) |
| 90 | [Subsets II](https://leetcode.com/problems/subsets-ii) | ❌ | ❌ |
| 77 | [Combinations](https://leetcode.com/problems/combinations) | ❌ | ❌ |
| 22 | [Generate Parentheses](https://leetcode.com/problems/generate-parentheses) | ❌ | ❌ |
| 39 | [Combination Sum](https://leetcode.com/problems/combination-sum) | ❌ | ❌ |
| 40 | [Combination Sum II](https://leetcode.com/problems/combination-sum-ii) | ❌ | ❌ |## Graphs
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 200 | [Number of Islands](https://leetcode.com/problems/number-of-islands) | [✔️](solutions/200/solution1/code.py) [✔️](solutions/200/solution2/code.py) | [✔️](https://www.youtube.com/embed/ScvAGc6yBs4?si=qRcnTKoBhYhbcKZT) |
| 547 | [Number of Provinces](https://leetcode.com/problems/number-of-provinces) | ❌ | ❌ |
| 695 | [Max Area of Island](https://leetcode.com/problems/max-area-of-island) | ❌ | ❌ |
| 1020 | [Number of Enclaves](https://leetcode.com/problems/number-of-enclaves) | ❌ | ❌ |
| 133 | [Clone Graph](https://leetcode.com/problems/clone-graph) | ❌ | ❌ |
| 994 | [Rotting Oranges](https://leetcode.com/problems/rotting-oranges) | ❌ | ❌ |
| 797 | [All Paths From Source to Target](https://leetcode.com/problems/all-paths-from-source-to-target) | ❌ | ❌ |
| 207 | [Course Schedule](https://leetcode.com/problems/course-schedule) | ❌ | ❌ |
| 323 | [Number of Connected Components in an Undirected Graph](https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph) | ❌ | ❌ |
| 684 | [Redundant Connection](https://leetcode.com/problems/redundant-connection) | ❌ | ❌ |## Dynamic Programming
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 70 | [Climbing Stairs](https://leetcode.com/problems/climbing-stairs) | [✔️](solutions/70/solution1/code.py) [✔️](solutions/70/solution2/code.py) [✔️](solutions/70/solution3/code.py) [✔️](solutions/70/solution4/code.py) | [✔️](https://www.youtube.com/embed/pvAzR_7mlnY?si=vKFFU1TZ0lhqXqGQ) |
| 746 | [Min Cost Climbing Stairs](https://leetcode.com/problems/min-cost-climbing-stairs) | ❌ | ❌ |
| 198 | [House Robber](https://leetcode.com/problems/house-robber) | ❌ | ❌ |
| 213 | [House Robber II](https://leetcode.com/problems/house-robber-ii) | ❌ | ❌ |
| 62 | [Unique Paths](https://leetcode.com/problems/unique-paths) | ❌ | ❌ |
| 63 | [Unique Paths II](https://leetcode.com/problems/unique-paths-ii) | ❌ | ❌ |
| 5 | [Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring) | ❌ | ❌ |
| 300 | [Longest Increasing Subsequence](https://leetcode.com/problems/longest-increasing-subsequence) | ❌ | ❌ |
| 1143 | [Longest Common Subsequence](https://leetcode.com/problems/longest-common-subsequence) | ❌ | ❌ |
| 152 | [Maximum Product Subarray](https://leetcode.com/problems/maximum-product-subarray) | ❌ | ❌ |## Bit Manipulation
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 136 | [Single Number](https://leetcode.com/problems/single-number) | [✔️](solutions/136/solution1/code.py) [✔️](solutions/136/solution2/code.py) [✔️](solutions/136/solution3/code.py) [✔️](solutions/136/solution4/code.py) | [✔️](https://www.youtube.com/embed/YcusSSCLmKQ?si=HaWWVb-YQGNyZv7z) |
| 191 | [Number of 1 Bits](https://leetcode.com/problems/number-of-1-bits) | [✔️](solutions/191/solution1/code.py) [✔️](solutions/191/solution2/code.py) | ❌ |
| 231 | [Power of Two](https://leetcode.com/problems/power-of-two) | ❌ | ❌ |
| 338 | [Counting Bits](https://leetcode.com/problems/counting-bits) | ❌ | ❌ |
| 268 | [Missing Number](https://leetcode.com/problems/missing-number) | ❌ | ❌ |
| 371 | [Sum of Two Integers](https://leetcode.com/problems/sum-of-two-integers) | ❌ | ❌ |
| 260 | [Single Number III](https://leetcode.com/problems/single-number-iii) | ❌ | ❌ |
| 421 | [Maximum XOR of Two Numbers in an Array](https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array) | ❌ | ❌ |## Greedy
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 53 | [Maximum Subarray](https://leetcode.com/problems/maximum-subarray) | [✔️](solutions/53/solution1/code.py) [✔️](solutions/53/solution2/code.py) | [✔️](https://www.youtube.com/embed/zfBUOrv1u4k?si=P3USqAXRpTLHMnbf) |
| 55 | [Jump Game](https://leetcode.com/problems/jump-game) | ❌ | ❌ |
| 134 | [Gas Station](https://leetcode.com/problems/gas-station) | ❌ | ❌ |
| 846 | [Hand of Straights](https://leetcode.com/problems/hand-of-straights) | ❌ | ❌ |
| 1899 | [Merge Triplets to Form Target Triplet](https://leetcode.com/problems/merge-triplets-to-form-target-triplet) | ❌ | ❌ |
| 678 | [Valid Parenthesis String](https://leetcode.com/problems/valid-parenthesis-string) | ❌ | ❌ |## Math
| LeetCode ID | Problem Name | Solutions | Video |
| ----------- | -------------------------------------------------------------------- | ------------------------------------ | ------------------------------------------------------------------- |
| 202 | [Happy Number](https://leetcode.com/problems/happy-number) | ❌ | ❌ |
| 66 | [Plus One](https://leetcode.com/problems/plus-one) | ❌ | ❌ |
| 50 | [Pow(x, n)](https://leetcode.com/problems/powx-n) | ❌ | ❌ |
| 48 | [Rotate Image](https://leetcode.com/problems/rotate-image) | [✔️](solutions/48/solution1/code.py) | [✔️](https://www.youtube.com/embed/Sj8UpBuqnbA?si=unPfe17rDED4V2Em) |
| 54 | [Spiral Matrix](https://leetcode.com/problems/spiral-matrix) | ❌ | ❌ |
| 73 | [Set Matrix Zeroes](https://leetcode.com/problems/set-matrix-zeroes) | ❌ | ❌ |