Contributions to this project must be accompanied by a Contributor License Agreement.
-
Fork this repo
-
Run a script to auto-generate files.
such as
cd leetcode
and
../scripts/comments_cpp.sh https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
that will be auto-generate a folder and a cpp source file, if you want to create a python solution, just replace the comments_cpp.sh to comments_py.sh, now scripts support create cpp, python, go, java.
-
Syncing a fork
Sync a fork of a repository to keep it up-to-date with the upstream repository. See document for more detail.
-
Pull request
From your branch of develop to origin branch of develop. Make sure your commit doesn't have conflict.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.