This repository contains my solutions to various LeetCode problems, implemented and explained in Jupyter Notebooks. Each solution is well-documented, including problem statements, approach, and complexity analysis.
- β Python-based solutions implemented in Jupyter Notebook.
- β Step-by-step explanations with markdown cells.
- β Time and Space Complexity Analysis for better understanding.
- β Organized by Difficulty Level (Easy, Medium, Hard).
- β Interactive Visualizations (where applicable).
-
Clone the Repository
git clone https://github.com/your-username/LeetCode-Solutions.git cd LeetCode-Solutions
2.Install Jupyter Notebook (if not installed)
pip install notebook-
Launch Jupyter Notebook
jupyter notebook
4.Open any .ipynb file and start exploring π
Each Jupyter Notebook contains:
- Problem Statement (copied from LeetCode).
- Approach & Thought Process.
- Code Implementation.
- Time & Space Complexity Analysis.
- Alternative Solutions (if applicable).
Feel free to contribute by:
- Adding new solutions π.
- Optimizing existing solutions β‘.
- Improving explanations β.
- Fork the repository π΄.
- Create a new branch (
feature/new-solution) π§. - Commit your changes and push π.
- Open a Pull Request for review.
- π LeetCode
- π Python Documentation
- π Jupyter Notebook Guide
This project is open-source and available under the MIT License.
Happy Coding! ππ―
