Thank you for considering contributing to this open-source project! Follow these guidelines to ensure smooth collaboration.
-
Fork the Repository
- Click the "Fork" button at the top right of this repository to create a copy under your GitHub account.
-
Clone Your Fork
git clone https://github.com/HYDRO2070/March-Leetcode-Daily-Question.git
-
Navigate to the Project Directory
cd March-Leetcode-Daily-Question
-
Create a New Branch
git checkout -b your-branch-name
-
Create a Folder for the Daily Challenge
- Format:
MM-DD-YYYY/
(Example:02-01-2025/
for February 1, 2025). - Inside this folder, create a file with the full title of the problem.
- Format:
problem-number.problem-title.extension
(Example:12.two-sum.cpp
).
- Format:
-
Write Your Solution
- Add your code inside the file.
- Include a clear explanation of your approach as comments.
-
Commit Your Changes
git add . git commit -m "Added solution for 02-01-2025 problem"
-
Push to Your Fork
git push origin your-branch-name
-
Open a Pull Request
- Go to your forked repository and click "Compare & pull request".
- Submit your PR for review.
- Use meaningful variable names.
- Write comments explaining the logic of your solution.
- Ensure your code runs correctly before submitting.
Thank you for contributing! 🚀