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 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.
Go to the folder of the language in which you want to solve a program.
Create a new file with the name same as the problem code given in problems.md
file.
Write the problem statement on top of the file in a multi-lined comment.
Add a single lined comment stating the username of the person solving the problem. e.g. // Solved by XYZ
Add the solution and save the file.
- 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]
Commit the changes and push them in the main repository.
- 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.