This repository contains my solutions to various LeetCode problems that I solve during my practice sessions.
- ✍️ Each file corresponds to a single LeetCode problem solution.
- 📄 Solutions are uploaded as I solve them — no strict folder structure.
- 🧠 Focused on improving problem-solving skills and algorithmic thinking.
- Python (mainly)
- (Other languages may be added over time)
- Clone the repository:
git clone https://github.com/Minhaj401/Leetcode.git
Browse through the files.
Each file is typically named after the problem title.
- Solutions are self-written unless otherwise mentioned.
- Some problems might include multiple approaches inside the same file.
- Code is tested against LeetCode test cases.
- If a solution isn't optimal, feel free to open a discussion or issue!
| 0094-binary-tree-inorder-traversal |
| 0094-binary-tree-inorder-traversal |
| 0094-binary-tree-inorder-traversal |
| 0581-shortest-unsorted-continuous-subarray |
| 0881-boats-to-save-people |
| 0948-bag-of-tokens |
| 3974-maximum-total-sum-of-k-selected-elements |
| 0581-shortest-unsorted-continuous-subarray |
| 0070-climbing-stairs |
| 0202-happy-number |
| 0231-power-of-two |
| 0415-add-strings |
| 0507-perfect-number |
| 0628-maximum-product-of-three-numbers |
| 0728-self-dividing-numbers |
| 1025-divisor-game |
| 2545-sort-the-students-by-their-kth-score |
| 0415-add-strings |
| 0844-backspace-string-compare |
| 2079-watering-plants |
| 2105-watering-plants-ii |
| 3174-clear-digits |
| 0175-combine-two-tables |
| 0181-employees-earning-more-than-their-managers |
| 0961-n-repeated-element-in-size-2n-array |
| 0202-happy-number |
| 0070-climbing-stairs |
| 1025-divisor-game |
| 1025-divisor-game |
| 1025-divisor-game |
| 1025-divisor-game |
| 0191-number-of-1-bits |
| 0231-power-of-two |
| 2351-first-letter-to-appear-twice |
| 0231-power-of-two |
| 0191-number-of-1-bits |
| 0070-climbing-stairs |
| 0387-first-unique-character-in-a-string |
| 0933-number-of-recent-calls |
| 0387-first-unique-character-in-a-string |
| 2351-first-letter-to-appear-twice |
| 0083-remove-duplicates-from-sorted-list |
| 0704-binary-search |
| 1021-remove-outermost-parentheses |
| 1051-height-checker |
| 1051-height-checker |
| 0933-number-of-recent-calls |
| 0933-number-of-recent-calls |
| 0881-boats-to-save-people |