First of all, thanks for thinking of contributing to this project :) 👏
- Star the repo.
- Fork the repo.
- Look for the already opened issues.
- If you do not found any issue of your choice.
- Submit the PR with proper code and a snapshot of the input and output.
- Improve documentation
- If you have any algorithm/Online judge solution which you think will be good to be contributed in this repo, feel free to share ;)
- Discuss potential ways to improve project
Pull requests are welcome! Please keep the following in mind:
-
Fork this repository.
-
Clone your fork, using
git clone https://github.com/{GITHUB_USERNAME}/OJSolution.git
-
Change Directory to
OJSolution
, usingcd OJSolution
-
Create a branch named
{algo-name/contest-name}-{github-username}
, usinggit checkout -b {algo-name/contest-name}-{github-username}
-
Open the current directory in your editor.
-
Create a new file and write your desired algorithm or solution of any contest into it in any comfortable language.
-
Stage your changes with commend
git add {filename/foldername}
-
Now commit the changes with comment message,
git commit -m "Add {algorithm-name/contest-name along with the question name} "
-
Push the changes using,
git push --set-upstream origin {CURRENT_ACTIVE_BRANCH_NAME}
-
Open a pull request: As soon as the changes will be pushed, GUI of repository's main page will show a banner saying you too open a Pull request, just click on it and you are done.
-
Attach the relevant input/output screenshots along with your pull request.
Happy Hacking ✌️