/LeetCode2024-6Companies30Days

Make your first Pull Request on Hacktoberfest 2024. Don't forget to spread love and if you like give us a ⭐️

Primary LanguageC++

Hacktoberfest 2024 🎉

This repository is designed to encourage contributions to open source throughout the month of October as part of Hacktoberfest. Follow me on GitHub 🙊 and join in the fun of contributing to this exciting open-source project.

image


Hacktoberfest 2024: Contribution Rules 📜

To earn your Hacktoberfest reward, follow these simple rules:

  1. Register for Hacktoberfest and make four valid pull requests (PRs) between October 1 and 31 (any time zone).
  2. PRs can be made to any public repo on GitHub, but only those with the Hacktoberfest label will count.
  3. Quality over quantity: Spammy or low-quality PRs will be marked as such and may result in disqualification. Adhere to the project’s code of conduct to stay eligible.
  4. Write your own code: Repeated algorithms will not be merged.

Your Contributions 📦

Here's what you need to include in your PRs:

  1. Problem Statement: Clearly describe the problem you're solving.
  2. Your Code: Provide the solution to the problem.
  3. Output: Show the expected output or results generated by your code.

Steps To Contribute To This Repository 🚀

Follow these simple steps to contribute to the repository:

1. Star and Fork the Repo

Start by following me on GitHub and starring this repository (Important).

Then, fork the repository by clicking the "Fork" button at the top right corner of the page. This will create a copy of this repository in your GitHub account.

2. Clone the Forked Repository

After forking, clone the repository to your local machine using the following command:

git clone https://github.com/<your-github-username>/LeetCode2024-6Companies30Days.git

Replace <your-github-username> with your GitHub username.

3. Navigate to the Project Directory

cd LeetCode2024-6Companies30Days

4. Create a New Branch

Before making any changes, create a new branch for your contribution:

git checkout -b <branch-name>

Replace <branch-name> with a meaningful name for your branch, such as add-algorithm-solution.

5. Make Your Contribution

Add your algorithm or solution under the appropriate directory (e.g., DSA, LeetCode, etc.). Ensure that your contribution includes:

  • Problem statement
  • Solution code
  • Expected output

6. Stage Your Changes

After making changes, stage your files using the following command:

git add .

7. Commit Your Changes

Write a clear commit message describing your contribution:

git commit -m "Added solution to <problem-name>"

8. Push to Your Forked Repository

Push your changes to your forked repository:

git push origin <branch-name>

9. Create a Pull Request

Go to the original repository on GitHub and create a pull request from your forked repository.

  1. Navigate to the repository you forked (https://github.com/abhisek247767/LeetCode2024-6Companies30Days).
  2. Click on the "Compare & pull request" button.
  3. Submit your pull request with a meaningful description of the changes you’ve made.

Notes 📅

  • The deadline for Hacktoberfest is October 31st, but this repository is always open for contributions beyond that date.
  • I personally review each pull request. Please make sure your submission is of high quality.
  • Use your own words when describing solutions and problem statements for faster approval.

Why Follow Me? 🔔

Following me on GitHub helps me approve your pull request faster and keeps you in the loop with other projects and contributions. 🚀


Contributors 🏅

Thanks to these amazing contributors who have helped make this repository better!

Contributors


Hurrah!! 🎉 You’ve made your first contribution! Let’s continue contributing to open source and make this Hacktoberfest a success!