This repository contains compilation of my solutions for various LeetCode questions. I use LeetCode as a platform to practice Data Structures and Algorithms and I document my solutions here for reference.
Each question is organized into its own folder. Inside each folder, you'll find a README file containing the problem description. You will also find the solution for that problem in either java or python inside that directory.
I used a chrome extension called LeetHub by @Qasim Wani which automatically pushes accepted solutions in leetcode to my linked github repository. I highly reccomend using it. It also creates custom commit messages for each solution based on the solve statistics (time and space compexities and how they compare to other solutions on leetcode).
Feel free to browse through the solutions in this repository to understand different approaches to solving LeetCode problems. You can also use these solutions as a reference when practicing or preparing for coding interviews. Each solution includes detailed comments explaining the thought process and implementation details.
To use the solutions, simply clone this repository to your local machine:
git clone https://github.com/AkhileshP06/LeetCode.git
If you'd like to contribute to this repository, you're welcome to do so! Contributions can include adding new solutions, improving existing ones, fixing bugs, or providing better explanations. To contribute, follow these steps:
- Fork this repository.
- Create a new branch (git checkout -b feature/your-feature).
- Make your changes.
- Commit your changes (git commit -am 'Add some feature').
- Push to the branch (git push origin feature/your-feature).
- Create a new Pull Request.
If you have any questions or suggestions regarding this repository, feel free to contact me at akhileshnair2003@gmail.com.