Feel free to use this project to make your first contribution to an open-source project on GitHub.
- Contribute a DSA Problem.
- The Program should be executable, with 0 errors and proper documentation.
- Do not add a code if it exists already.
- Explain your code with the help of comments.
- Filename should follow the order
solution.extension
. - Example:
solution.cpp
,solution.py
. - Don't spam it will be rejected immediately.
- You can contribute your code in any one language like c, c++, java, python etc.
- Your code should be neat and clean.
- You can add any code but it should not be repeated. To avoid redundancy, check all contributions before.
- Add your code to the relevant folder.
- If the file of any language is not exists already then create it and add your code.
- Do NOT remove other content.
- Try to keep pull requests small to minimize merge conflicts.
- Add algorithms to existing problems
- Add Data Structure programs in any language
- Find bugs in the code.
git clone https://github.com/<your-github-username>/dsa-problems
- Navigate to the project directory.
cd dsa-problems
- Create a new branch.
git checkout -b <your_branch_name>
-
Make changes.
-
Add your name and username to the List of contributer.
- [Your Name] | [Github username]
- 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.