Thank you for considering contributing to this repository. Your contributions are greatly appreciated.
Before you start contributing, please take a moment to read through these guidelines.
If you find a bug or have a suggestion, please create an issue on GitHub. When creating an issue, please provide as much information as possible to help us understand and resolve the problem.
If you would like to add your solutions for LeetCode DSA questions, follow these steps:
-
Fork this repository to your own GitHub account.
-
Clone the forked repository to your local machine.
-
Create a new branch for your work:
git checkout -b feature/my-solution
-
Add your solution code to the appropriate directory. You can organize your solutions by LeetCode problem number or category if you prefer.
-
Include a clear and concise README.md file in each solution directory, explaining your solution's approach and complexity.
-
Make sure your code is well-documented and formatted according to the language's best practices.
-
Add yourself to the CONTRIBUTORS.md file in the format:
[Your Name](https://github.com/your-username)
. -
Commit your changes with a descriptive commit message:
git commit -m "Add solution for LeetCode problem XYZ"
-
Push your changes to your forked repository:
git push origin feature/my-solution
-
Create a pull request (PR) from your forked repository to the main repository.
-
Your PR will be reviewed, and if everything looks good, it will be merged into the main repository.
By contributing to this repository, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to LeetCode-DSA!