Welcome to the Hacktoberfest repository! π We're excited to have you participate and contribute to open-source projects. Please follow the guidelines outlined below to ensure a smooth and rewarding experience for everyone.
Contribute New Problems Only:
You can make a pull request only for a new problem statement. Solutions to already existing problems will be marked as invalid and rejected.
Problem Source:
Problems can be taken from any reputable coding platform like CodeChef, CodeForces, LeetCode, HackerRank, etc. Please ensure you mention the source in your problem file.
File Naming Convention:
_
).CF_Score_More_Buddy.cpp
, CF_Score_More_Buddy.java
, CF_Score_More_Buddy.py
, or CF_Score_More_Buddy.c
based on the language of your choice.Adding the Problem Link:
// Problem Link: https://www.hackerrank.com/challenges/score-more-buddy/problem
Avoid Irrelevant Submissions:
If youβre new to GitHub and open-source contributions, follow these simple steps to get started:
Fork the Repository:
Fork
button at the top right of this repository. Clone the Repository:
git clone https://github.com/<your-username>/<repository-name>.git
<your-username>
with your GitHub username and <repository-name>
with the name of this repository.Add Your Solution:
Commit Your Changes:
git add .
git commit -m "Added solution for <Question Name>"
Push to Your Forked Repository:
main
branch, not master
):
git push origin main
Create a Pull Request (PR):
Compare & pull request
button.Create Pull Request
.Wait for Review:
If you're new to Git and GitHub, here are some helpful resources to get you started:
Complete Git and GitHub Tutorial by Kunal Kushwaha:
Watch Now
Complete Git And GitHub Tutorials (Hindi) by Krish Naik:
Watch Now
Q: Can I contribute to the same question multiple times?
A: No, only new questions will be accepted. Solutions to the same question will be marked as invalid.
Q: What if my PR is marked as invalid?
A: Check the comments provided by the maintainer, rectify your solution, or add a new valid question.
Q: Can I contribute in multiple languages?
A: Yes, you can contribute in different programming languages, but ensure that each file follows the guidelines mentioned above.
Q: What branch should I use for contributions?
A: Always use the main
branch for pushing your final changes. Create separate branches for each feature/bug fix and then merge them into your main branch before pushing.
Happy Contributing! π»β¨
Note: This is a community-driven project. If you have any questions or need help, to reach out to the maintainers or other contributors. We're here to help you get started and make your first contribution a success! π