kanak22 / CP-DSA-Questions

This is a repository entirely dedicated to all kind of questions ranging from basic DSA to CP. It aims to provide a solution to different questions. πŸ“š
73 stars 128 forks source link
hacktoberfest hacktoberfest2021

πŸŽ‰CP-DSA-QuestionsπŸŽ‰

This is a repository entirely dedicated to all kind of questions ranging from basic DSA to CP. It aims to provide a solution to different questions. These questions are from various coding platforms like Hackerrank, HackerEarth, Leetcode, Codechef, Codeforces, InterviewBit, AtCoder. It also consist 450 DSA Sheet.

πŸŽ“Platforms To Be Considered πŸŽ“

Languages To Be Considered

πŸŽ‡How To Contribute πŸŽ‡

Read contribution guidelines

To start contributing, follow the below guidelines:

🌟. Star🌟 the repo to appreciate the work.

  1. Take a look at the existing issues or create your own issues. Wait for the Issue to be assigned to you after which you can start working on it.

  2. Find a question you can solve from any of these platforms.

  3. Open an issue.

  4. Get it assigned.

  5. Work on it i.e

    • Solve that question by yourself.
    • Add it to your forked repo, if the folder doesn't exist create it first and then add your code.
  6. Make a pull request.

  7. Wait for it to be merged

  8. And WOAHLAAAAAAAA! πŸŽ‰ You contributed to this project.

🎏 Steps For Making A Pull Request 🎏

1. Fork this repository.

2. Clone your forked copy of the project.

git clone https://github.com/your_username/CP-DSA-Questions

3. Navigate to the project directory :file_folder: .

cd CP-DSA-Questions

4. Add a reference(remote) to the original repository to get all the changes from the remote.

git remote add upstream https://github.com/kanak22/CP-DSA-Questions

5. Check the remote for this repository.

git remote -v

6. Always take a pull from the upstream repository to your master branch to keep it at par with the main project (updated repository).

git pull upstream main

7. Create a new branch.

git checkout -b <your_branch_name>

8. Perform your changes to the code base.

9. Track your changes.

git add . 

10. Commit your changes.

git commit -m "Relevant message"

11. Push the committed changes in your branch to your remote repo.

git push -u origin <your_branch_name>

12. To create a pull request, click on Compare and pull requests.

13. Add appropriate title and description to your pull request explaining your changes and efforts.

14. Click on Create Pull Request.

15 πŸŽ‰ WOAHHHH!!!! πŸŽ‰ you made a pull request, Wait for it to get approved and merged πŸ€—πŸ€—

πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰ HAPPY CONTRIBUTING! πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰