A collection of my solutions to LeetCode problems practiced during my free time.
Each solution is in its own file named after the problem (e.g., two-sum.py).
Languages are stored in a separate folder. .js files are in JavaScript while .py are in Python
- Python
- JavaScript
- C++
- I include comments on my thought process in solving the problem.
- I will add regular updates as I solve more problems. I aim for at least one problem a day, but I'll update the repository by batch.
- For C++, most #include statements and using namespace std; are omitted in these solutions because they are pre-configured in the LeetCode environment. This allows the code to stay concise and focused on the algorithm logic. For local execution, standard headers (e.g.,
<vector>,<algorithm>) must be added.