Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 1.08 KB

instructions.md

File metadata and controls

28 lines (19 loc) · 1.08 KB

instructions.md

Before contributing, check whether the algorithm has already been implemented or not. All algorithms must be implemented in C++.

Setting up the repo locally

  1. Fork the repo in your account.

  2. Clone it into your machine.

    git clone https://github.com/<your_username>/algorithms_with_git.git
    
  3. Create a branch for your algorithm.

    git checkout -b <branch_name>
    

Adding a brand new algorithm

  1. Make a folder for your algorithm. The folder name should be descriptive. Use underscores instead of spaces.
  2. Put your program in that folder. Keep the program name as similar as possible to the folder name.
  3. Add documentation for your program.Algorithms without a basic documentation (description, input/output format, sample input/output) will not be accepted. See README.md for correct example.
  4. Update the List of Algorithms in README with your algorithm.
  5. Commit and push the changes, then submit a Pull Request.