Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 2.42 KB

File metadata and controls

77 lines (49 loc) · 2.42 KB

Contributing to Daily Coding Problem Solutions

Thank you for considering contributing to this repository! This project collects solutions to problems from Daily Coding Problem in various programming languages.

Repository Link

GitHub Repository: https://github.com/blackphoenix42/Daily-Coding-Problem-Solutions

How to Contribute

1. 📂 Fork the Repository

Click the Fork button at the top-right of the repository page to create your own copy.

2. 💻 Clone Your Fork

Clone your fork to your local machine:

git clone https://github.com/YOUR_USERNAME/Daily-Coding-Problem-Solutions.git

3. 🔍 Pick a Problem

Select an unsolved or existing problem you want to solve or improve. If you are unsure, feel free to open an issue.

4. 🧠 Add Your Solution

  • Navigate to the appropriate company directory (google, amazon, etc.). If it doesn't exist, feel free to create one.

  • Add your solution file using the following naming format: Example: Day123.cpp

  • Include a comment at the top of your solution file with:

  • Problem number

  • Problem description

  • Date of submission

  • Your name (optional)

5. ✅ Test Your Code

Make sure your code compiles/runs without errors and gives the correct result.

6. 📝 Commit and Push

git checkout -b add-day-123-solution
git add .
git commit -m "Problem 123 | <difficulty level> | <company name> - <brief description>"
git push origin add-day-123-solution

7. 🔁 Create a Pull Request

Go to your forked repository and click the Compare & Pull Request button. Make sure to:

  • Provide a clear title and description
  • Full problem statement
  • Mention any relevant details or assumptions

Contribution Guidelines

  • Write clean, readable, and well-commented code
  • Avoid plagiarism. Submissions should be your original work.
  • Ensure proper file and folder naming
  • One pull request per problem/solution is preferred
  • Be respectful in discussions

📬 Feedback and Suggestions

If you have any suggestions to improve the repository or structure, feel free to open an issue or discussion.

Happy coding! 💻🚀
— Ayush Yadav (@blackphoenix42)