Welcome to my curated repository of LeetCode solutions! 💻🚀
Organized by language and topics for easier navigation:
leetcode/
├── cpp/ ⚙️ C++ Solutions
│ ├── array/ 📊 Array problems
│ ├── binary-search/ 🔍 Binary Search problems
│ ├── dp/ 🧠 Dynamic Programming
│ └── ... 🔄 Other categories
├── python/ 🐍 Python Solutions
├── sql/ 🗄️ SQL Solutions
├── js/ 📜 JavaScript Solutions
└── README.md 📝 Project overview
💡 Run the included
organize_workspace.batscript to automatically organize files by language!
-
Clone the repo:
git clone https://github.com/LSUDOKO/leetcode.git cd leetcode -
Run the organization script:
organize_workspace.bat
-
Run your solution:
- C++:
g++ -std=c++17 cpp/array/1-Two-Sum.cpp -o TwoSum && TwoSum - Python:
python python/1-Two-Sum.py - SQL: Open
.sqlfile in your database client - JavaScript:
node js/2667-Create-Hello-World-Function.js
- C++:
- 0034-find-first-and-last-position-of-element-in-sorted-array
- 0035-search-insert-position
- 0152-maximum-product-subarray
- 0493-reverse-pairs
- 0792-binary-search
- 0034-find-first-and-last-position-of-element-in-sorted-array
- 0035-search-insert-position
- 0493-reverse-pairs
- 0792-binary-search
Want to contribute? That's great! Here's how:
- Fork this repo ❤️
- Create a branch:
git checkout -b feat/new-solution - Add your solution into the correct folder ✨
- Commit & push 🎉
- Open a Pull Request 👍
This project is licensed under the MIT License 🔓
| 0530-minimum-absolute-difference-in-bst |
| 0547-number-of-provinces |
| 0799-minimum-distance-between-bst-nodes |
| 0871-keys-and-rooms |
| 3271-count-the-number-of-houses-at-a-certain-distance-i |
| 0235-lowest-common-ancestor-of-a-binary-search-tree |
| 0235-lowest-common-ancestor-of-a-binary-search-tree |
| 0173-binary-search-tree-iterator |
| 0173-binary-search-tree-iterator |
| 0547-number-of-provinces |
| 0871-keys-and-rooms |
| 3271-count-the-number-of-houses-at-a-certain-distance-i |
| 0547-number-of-provinces |
| 1644-maximum-number-of-non-overlapping-substrings |
| 4020-lexicographically-smallest-permutation-greater-than-target |
| 1341-split-a-string-in-balanced-strings |
| 4020-lexicographically-smallest-permutation-greater-than-target |
| 4020-lexicographically-smallest-permutation-greater-than-target |
| 4037-lexicographically-smallest-palindromic-permutation-greater-than-target |
| 4037-lexicographically-smallest-palindromic-permutation-greater-than-target |
| 2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points |
| 3271-count-the-number-of-houses-at-a-certain-distance-i |
| 0866-rectangle-overlap |
| 1501-circle-and-rectangle-overlapping |
| 4245-count-commas-in-range |
| 4248-count-commas-in-range-ii |
| 0866-rectangle-overlap |
| 1501-circle-and-rectangle-overlapping |
| 1644-maximum-number-of-non-overlapping-substrings |
| 1021-remove-outermost-parentheses |
| 1208-maximum-nesting-depth-of-two-valid-parentheses-strings |
| 1541-minimum-insertions-to-balance-a-parentheses-string |
| 1737-maximum-nesting-depth-of-the-parentheses |

