Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.3 KB

File metadata and controls

30 lines (23 loc) · 1.3 KB

Contributing

You can contribute to this repo in any of the following ways

Adding new problems and solutions

  • If you are selecting a problem from a website like hackerrank, codechef etc

    • Add it to the respective folder (eg: hackerrank_problems; if it doesn't exist, create it)
    • Make a folder with the name as name of the problem given
    • Should have 2 files: problem.md and solution
    • Add the link to the problem in problem.md file
    • Add your solution in any language
  • If you are submitting a new problem

    • Add it to misc folder (if it doesn't exist, create it)
    • Make a folder with name as name of the problem
    • Should have 2 files: problem.md and solution
    • In problem.md, provide detailed explanation of problem statement and constraints with atleast 2 testcases and it's explanation
    • Add your solution in any language

Adding solutions to existing problems

  • You can contribute your solutions to any problem
  • Add it as a new file in the format solution_number eg: (solution2) in the respective problem folder

Documentation Contributions

  • You can improve the readme and contributing documentation

Note

Solutions must be properly indented and add comments wherever needed.
Ideally, adding a Logic of solving the problem in the beginning of the solution is preferred.