Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 2.48 KB

CONTRIBUTING.md

File metadata and controls

57 lines (48 loc) · 2.48 KB

👥Contributing Guidelines

For contributing, you need to know the basics of git and GitHub. If you don't know any of those, then seek help from others or check the internet for setting up git environment on your device.

Ways of making contributions in this repository:

Add yourself in the official list of contributors (Optional)

Add yourself in the official list of contributors of this repository by adding you name in the CONTRIBUTORS.yaml file.

Add the following block of code at the end of CONTRIBUTORS.yaml file:

- name: 
  surname: 
  GitHub username: 
  mail: 
  website: 
  comments: 
  contributing since: 

Filling any and all of these fields is optional. Fill all the fields which you want and save the file.

Code Contributions

Step 1:

Go to the folder of the language in which you want to solve a program.

Step 2:

Create a new file with the name same as the problem code given in problems.md file.

Step 3:

Write the problem statement on top of the file in a multi-lined comment.

Step 4:

Add a single lined comment stating the username of the person solving the problem. e.g. // Solved by XYZ

Step 5:

Add the solution and save the file.

Step 6:

Case 1: The problem was unsolved and the [issue] tag is present in front of the problem statement

  • Replace the [issue] tag with the [solved: language_name] tag in problems.md file.

Case 2: The problem was already solved in some other language and[solved: language_name] tag is present in front of the problem statement

  • Add the language name in which you solved the problem in the tag present in front of the problem statement. Eg: change [solved: language1, language2] to [solved: language1,language2,your_language]

Step 7:

Commit the changes and push them in the main repository.

Non-Code Contributions

  • Adding questions in problems.md file:

    Add the questions in the correct difficulty level folder.
    Add the question at the end of the file.
    Enter the correct serial number and put 3 '#' symbols in front of it.
    Add the [issue] tag after the serial number.
    Start the question from a new line.
    Eg.
      #57 [issue]
      problem_statement

  • Update or improve README.md file
  • Fix typos and grammatical mistakes in any file inside the repository.