Thank you for your interest in contributing to this open-source project! 🚀This repository is for solving LeetCode Daily Problems in different programming languages and approaches. Follow the guidelines below to contribute effectively.
- Click the Fork button at the top right of this repo.
- Clone your forked repository to your local system.
git clone https://github.com/vishwajeetmishra4/Leetcode-Daily.git
- Navigate into the project directory.
cd LeetCode-Daily
- Always work on a new branch.
git checkout -b your-branch-name
- Navigate to the problems directory.
- Create a new file with the Problem Name.
problem.java
,problem.py
,problem.cpp
- Add a problem Decription with adding the TestCase (copy the problem statement from LeetCode).
Inside this Repository we've create subfolders for different languages. Write your solution in that specific folder only. Do not mix different files in folders.
├── Java/ │ ├── solution.java ├── Python/ │ ├── solution.py ├── C++/ │ ├── solution.cpp
Write a clean, well-documented solution.
-
Add your files:
git add .
-
Commit your changes:
git commit -m "Added solution for problem in Java/Python/C++"
-
Push your branch:
git push origin your-branch-name
-
Go to your forked repo on GitHub and click Compare & pull request.
-
Add a meaningful description and submit the PR.
-
Wait for a maintainer to review your PR. 🎯
- Direct links to Issues and Discussions:
Open an Issue
Join the Discussions
-
Multiple Solutions Allowed: You can submit solutions in any programming language.
-
Code Readability: Ensure proper comments and variable naming.
-
No Plagiarism: Copying code from other sources without modification is not allowed.
-
One PR per Problem: Submit only one problem per pull request.
Join the Discussions tab or open an Issue for any queries.
Happy Coding! 💻🚀