/problem_solving

Primary LanguageC++Apache License 2.0Apache-2.0

problem_solving

📢General Steps to follow while contributing:

Step Zero

  • Look for issues already submitted in the Issues tab, and comment "I want to work on this issue"
  • Wait till the owner of the repo assigns you the issue, and then your'e good to go
  • If you want to add solution for a problem of your choice, "Create a new issue, submit and comment to work on the issue"

Step One

  • Once you are assigned the issue, fork the repo to your profile 🍴 by clicking the Fork button on the top right corner
  • Clone the repo to your local machine: $ git clone "your forked repo URL" run the command in git bash on your PC/ Mac 💻
  • Go to the directory for the issue you're working on, then create a folder named on the programming lang. your solution is in (ex: Python) and copy your solution in that directory (for example, Searching & Sorting -> Cyclic Sort -> Python -> solution.py )
  • Add your name to the Contributors.md file

Step Two

  • After succesfully following the above steps, open Git Bash on your PC/ Mac.
  • Create a new branch by your Github username and checkout the branch: $ git checkout -b "username" (branch name should be your GitHub username strictly, Always try to make changes on a new branch rather than directly on the master branch, which can corrupt the codebase while working on some high profile, complicated program)
  • Add files changed: $ git add .
  • Commit the changes: $ git commit -m "commit message" (commit message should be meaningful and precise, example: git commit -m "added searching solution in Java")
  • Push the changes to make a successful PR: $ git push origin your-branch-name
  • That's it 🎉💥

📌Programming Languages to use

  • C
  • C++
  • Python
  • Java
  • Go
  • JavaScript
  • Kotlin
  • Rubi
  • Swift
  • Scala
  • Any other language

🎭Make a Meaningful PR

  • Don't make a spam PR, if found you will be disqualified from Hacktoberfest
  • Try to understand the problem discussed in the issue
  • Make PR which is thoughtful
  • Don't forget to write your name on the Contributors.md file

Don't forget to Star ⭐ this repo 😁