Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.82 KB

CONTRIBUTING.md

File metadata and controls

56 lines (31 loc) · 1.82 KB

Contributing to LeetCode-DSA

Thank you for considering contributing to this repository. Your contributions are greatly appreciated.

How to Contribute

Before you start contributing, please take a moment to read through these guidelines.

Reporting Issues

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.

Adding Solutions

If you would like to add your solutions for LeetCode DSA questions, follow these steps:

  1. Fork this repository to your own GitHub account.

  2. Clone the forked repository to your local machine.

  3. Create a new branch for your work:

    git checkout -b feature/my-solution
  4. Add your solution code to the appropriate directory. You can organize your solutions by LeetCode problem number or category if you prefer.

  5. Include a clear and concise README.md file in each solution directory, explaining your solution's approach and complexity.

  6. Make sure your code is well-documented and formatted according to the language's best practices.

  7. Add yourself to the CONTRIBUTORS.md file in the format: [Your Name](https://github.com/your-username).

  8. Commit your changes with a descriptive commit message:

    git commit -m "Add solution for LeetCode problem XYZ"
  9. Push your changes to your forked repository:

    git push origin feature/my-solution
  10. Create a pull request (PR) from your forked repository to the main repository.

  11. Your PR will be reviewed, and if everything looks good, it will be merged into the main repository.

License

By contributing to this repository, you agree that your contributions will be licensed under the MIT License.

Thank you for contributing to LeetCode-DSA!