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
Star this repository.
Fork this repository.
Clone the forked repository.
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 "
7. Push your local commits to the remote repo.
```css
git push -u origin <your_branch_name>
Create a Pull Request.
Congratulations! 🎉 you've made your contribution.