Feel free to use this project to make your first contribution to an open-source project on GitHub. Practice making your first pull request to a public repository before doing the real thing!
This repository is open to all members of the GitHub community. Any member can contribute to this project!
-
Contribute a LeetCode Problem.
-
Always create an issue before making a Pull Request.
-
Make a Pull Request only after the issue has been assigned to you by the owner. Otherwise, your PR will be closed automatically.
-
Write the issue number while creating a Pull Request.
Example: Write
#30
if the issue number of that problem is 30. -
The Program should be executable, with 0 errors and proper documentation.
-
Codes are only allowed in C++, Java and Python.
-
Do not add a code if it exists already.
-
Explain your code with the help of comments.
-
Writing the author's name and the date modified is a must.
Example:
-
Filename should follow the order
ProblemNumber_ProblemName.extension
If there are 2 or more than 2 words than the first letter of each word must be capital.Example:
1_TwoSum.cpp
-
Don't spam it will be rejected immediately.
C++ FORMATTER : https://codebeautify.org/cpp-formatter-beautifier
JAVA FORMATTER : https://codebeautify.org/javaviewer
PYTHON FORMATTER : https://codebeautify.org/python-formatter-beautifier
git clone https://github.com/<your-github-username>/LeetCode-Problems-Solutions
- Navigate to the project directory.
cd LeetCode-Problems-Solutions
- Create a new branch.
git checkout -b <your_branch_name>
-
Make changes.
-
Stage your changes and commit
git add -A
git commit -m "<your_commit_message>"
- Push your local commits to the remote repo.
git push -u origin <your_branch_name>
-
Create a Pull Request.
-
Congratulations! 🎉 you've made your contribution.