Hey! Before you start contributing to this repository, please create an issue with an appropriate title and with a description stating what you would like to add/change in this repository. Once the owner assigns the issue to you, you can fork the repository and start contributing while following the guidelines mentioned below. Happy Coding!
- Fork the repository
- Go to given file where you could see the problem.
- See the constraints, input and output formats of the problem and write your function accordingly. (Would help you to write a clean code.)
- Run your solution on local machines and check for some test cases.
- Click on create new file in that folder only.
- Copy your code there and with Solution_By_A.cpp [ A would be Your Name - Like Solution_By_Mashiyat.cpp ]
- After copying, click on propose new file.[ At the Bottom]
- Then You'd be redirected to new page, where you need to click on create pull request.
- Add your comments or anything you want to tell abour you solution.
- Then Click on create pull request and write one line description in box above the button.
- Your solution is pushed in the repository.
- If you want to add a new problem, then add a readMe.md together to explain the problem and choose appropriate sections such as Dynamaic Programming, Greedy Algorithms, Data Structure, etc to push your readMe and solution file. For example - If you are adding Tim Sort solution, go to Array or Vector folder inside Data Structure Section and then create a folder Tim Sort and then add both of your files there.