Thank you for considering contributing to this repository! 🎉
To keep everything organized and ensure quality contributions, please take a moment to review these guidelines.
- Fork the Repository: Use the "Fork" button at the top to create your own copy of the repository.
- Create a Branch: Work on your own branch for making changes.
git checkout -b feature/your-feature-name
- Use meaningful commit messages that explain what changes have been made.
- Example:
Added Python solution for Two Sum problem
.
- Ensure your code works before submitting (run tests if applicable).
- Add comments explaining your code, especially if it uses complex logic.
- Include the issue number you are addressing (e.g.,
Fixes #123
). - Run prettier or other code formatters if applicable to ensure your code is well-structured.
- Follow the code style conventions for your programming language:
- PEP8 for Python.
- Google Java Style for Java.
- Use descriptive variable names to make the code more readable.
- Write clean, maintainable code:
- Avoid large, monolithic functions—break them down into smaller, testable units.
-
git clone https://github.com/<your-username>/LeetCode_POTD_Hacktoberfest2024.git
-
git checkout -b your-feature-branch
- Implement your solution or update existing code.
- Test Your Changes: Ensure your solution works correctly and is efficient.
-
git add . git commit -m "Added solution for Problem XYZ" git push origin your-feature-branch
- Go to the original repository.
- Click on the Pull Requests tab and open a new pull request from your branch.
- Add a descriptive title and link the issue you are addressing.
- New Solutions: Solve a new LeetCode Problem of the Day.
- Optimize Existing Solutions: Improve the efficiency or readability of existing solutions.
- Documentation: Add problem descriptions, explanations, or comments.
Please respect fellow contributors. Make sure to follow the Code of Conduct in all interactions.
Thank you for contributing! Let’s make this project a valuable resource for everyone participating in Hacktoberfest 2024.