Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 1.17 KB

CONTRIBUTING.md

File metadata and controls

30 lines (15 loc) · 1.17 KB

How to become a contributor and submit your own code

Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License Agreement.

Step by step

  • 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.

Code reviews

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.