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 your name in the CONTRIBUTORS.yaml file.
Add the following block of code at the end of the 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 "code" folder of the section in which you want to solve a problem.
Create a new file.
It should be named as: problem_<serial-number>.<language-extension>
e.g. problem_7.cpp nb
problem_44.java
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
# Solved by ABC
Add the solution and save the file.
Commit the changes and push them in the main repository.
- Adding questions in
INDEX.mdfile:
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.
Start the question from a new line.
Eg.
### 57. problem_statement - Update or improve
README.mdfile - Fix typos and grammatical mistakes in any file inside the repository.