Welcome to the LeetCode Daily October Hacktoberfest Challenge 2024! This repository is dedicated to solving LeetCode's daily problems for the month of October, while also giving you the chance to participate in Hacktoberfest 2024 by contributing to an open-source project.
Hacktoberfest is a month-long celebration of open-source software development, organized by DigitalOcean, GitHub, and other partners. It's a fantastic opportunity to contribute to open-source projects and make an impact on the developer community. Participants who contribute successfully to open-source projects during the month of October are eligible to win exclusive T-shirts and swag.
For more details, visit the official Hacktoberfest website.
This repository contains solutions to LeetCode's daily coding challenges for October 2024. The primary focus of this repo is to provide solutions in Java, C++, and Python, but contributions in any language are welcome.
Each day will have a dedicated issue and folder for the corresponding problem, and contributors can submit solutions in their preferred language.
Each day of October has its own folder in the solutions/
directory, where contributors can add their solutions in multiple languages.
Contributing is easy and welcome! Here's a step-by-step guide:
Start by forking this repository. This will create a copy of the project under your GitHub account.
Next, clone the forked repository to your local machine:
git clone https://github.com/arya2004/leetcode-daily-october-hacktoberfest-2024.git
Go to the solutions/
folder and navigate to the directory corresponding to the day you're contributing to:
cd solutions/day01
You can add your solution in any language (e.g., Python, Java, C++, etc.). Here's an example for Python:
touch solution_python.py
Don't forget to add comments to explain your solution and make it easier for others to understand.
Once you've added your solution, commit your changes:
git add .
git commit -m "Add Day 1 solution in Python"
git push origin main
Go to the original repository and open a pull request from your forked version. Make sure to describe your solution and mention the problem you're solving.
We will review your pull request as soon as possible!
Please adhere to the following guidelines when contributing:
- One solution per pull request: Only submit one day's solution per pull request.
- Proper documentation: Add a brief explanation of your approach in the
README.md
file inside the relevant dayβs folder. - Code quality: Follow best practices for writing clean and efficient code.
- Respect the structure: Place your solution files in the appropriate day's folder under
solutions/
.
For more detailed guidelines, please check the CONTRIBUTING.md file.
By contributing to this repository, you are taking part in Hacktoberfest 2024. Once you've made four contributions to eligible repositories, you'll be eligible to receive a limited-edition Hacktoberfest Holopin Badge.
- Solve daily LeetCode problems and submit your solutions.
- Add comments explaining your code.
- Contribute to the problem descriptions or documentation.
- Help by reviewing and improving existing solutions.
This repository is licensed under the MIT License, so feel free to use the code and contribute under the terms of that license.
We are excited to see your contributions and help you grow in your open-source journey. Whether you're a beginner or an experienced developer, there's a place for you in this repository.
Letβs solve problems together and make Hacktoberfest 2024 awesome!