Skip to content

HYDRO2070/May-Leetcode-Daily-Question

Repository files navigation

Contributing to LeetCode Daily Challenge Repository

Thank you for considering contributing to this open-source project! Follow these guidelines to ensure smooth collaboration.

How to Contribute

  1. Fork the Repository

    • Click the "Fork" button at the top right of this repository to create a copy under your GitHub account.
  2. Clone Your Fork

    git clone https://github.com/HYDRO2070/May-Leetcode-Daily-Question.git
  3. Navigate to the Project Directory

    cd May-Leetcode-Daily-Question
  4. Create a New Branch

    git checkout -b your-branch-name
  5. 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).
  6. Write Your Solution

    • Add your code inside the file.
    • Include a clear explanation of your approach as comments.
  7. Commit Your Changes

    git add .
    git commit -m "Added solution for 02-01-2025 problem"
  8. Push to Your Fork

    git push origin your-branch-name
  9. Open a Pull Request

    • Go to your forked repository and click "Compare & pull request".
    • Submit your PR for review.

Code Style Guidelines

  • Use meaningful variable names.
  • Write comments explaining the logic of your solution.
  • Ensure your code runs correctly before submitting.

Thank you for contributing! 🚀

About

This repository is dedicated to solving LeetCode's daily challenge in a collaborative, open-source manner.

Topics

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages