Welcome to the LeetCode Solutions for Hacktoberfest project! This repository is designed to encourage open-source contributions and share LeetCode solutions with the community during Hacktoberfest 2024.
-
Fork this repository.
-
Clone the forked repository to your local machine.
-
Create a new branch for your changes:
git checkout -b my-leetcode-solution
-
Add your solution inside the
solutions/
directory following this structure:{leetcode-problem-number}-{problem-name}/{your-username}.{file-extension}
Example:
1-two-sum/username.py
-
Commit your changes:
git add . git commit -m "Added solution for LeetCode problem #1 in Python"
-
Push to your forked repository:
git push origin my-leetcode-solution
-
Open a Pull Request on this repository.
-
Ensure your submission follows the Contributing Guidelines.
- Each solution should be your original work.
- Follow the file structure mentioned above.
- Ensure your code is well-commented and optimized.
- Multiple solutions for the same problem in different languages are welcome.
- Feel free to raise an issue if you want to work on a particular problem before submitting a solution.
This project is part of Hacktoberfest 2024!
Happy Coding!