-
First pick an issue that interests you and drop a comment to claim it (if somebody has already commented on the issue and said that he/she will do that then look for some other issue), then fork the repository and clone your forked repo to your local machine.
-
Now create a new branch on your local repo with the name of the algorithm you want to submit solution for, change your branch and run
npm install
. -
Now open the file of the algorithm that you want to submit solution for and start writing your code in the function block (do not change any other else in the file).
-
After completing the solution run the tests for the specified algorithm to check whether your solution is right or not.
-
Once you have passed all the tests commit your solution file with the descriptive commit message like "Added name-of-the-algorithm".
-
Now create a pull request.
- only change the algorithm file whose solution is not written, do not change any other file.
- before submitting the pull request please make sure that your algorithm solution has passed all the tests.
- one pull request for one algorithm.
- create pull request only for issues which are open and unclaimed.
- specify the issue number while submitting your pull request like
Closes #issueNumber
- avoid spam pull requests.