- Fork the project.
- Add your algorithm in your forked repo
- On this repo, click
Pull Requests
and raise aPull Request
selecting your fork on the right drop down - 🎉
Click on the clone button (🟢). This gives you a copy of the project. Its now yours to play around with
Using git on your local machine. Do this to download the forked copy of this repo to your computer
git clone https://github.com/your-github-username/algorithms.git
cd algorithms
git checkout -b <yourname>/<your-algorithm-name>
👩💻👨💻 ...add your code under src/algorithms/<your-file-here>.<extension>
git commit -m "Add <your algorithm name>"
git push origin <yourname>/<your-algorithm-name>
Pulling your request. Click on the Pull requests tab on the forked github repository.
- Note : A pull request allows your changes to be merged with the original project.
Click on Pull Request
Wait for your changes to be merged
...⏱ You successfully made a contribution. 🎉🎉🎉