forked fromsaadfareed/Leetcode
- Notifications
You must be signed in to change notification settings - Fork0
xkyleann/Extra_Leetcode
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
'''Always try to make more then 4 pull requests.Let's assume you have made only 4 pull request to different projects.but one project is excluded from hackoctoberfest event.Then your pull request will not be counted and you will just have 3 valid pull requests.If this happens then you will not get any swags or t-shirt.'''
📢This repository aims to help beginners 🤔 with their first successful Pull Request and Open Source Contribution.
- Register forHacktoberfest and get started to make your first PR.
- Make 4 valid PRs during the period of (1st - 31st) October to earn cool swags.
- You can Solve any Leetcode problem in any programming languages in the related Folder's,If language folder not exist then first create it and add your code in it but your program must be unique.
- The pull requests must contain commits made by yourself.
- The Commit message must contain Leetcode problem number
- Repeated codes will not be merged.
- (Optional) If git is not install in your Laptop/PC:
- Download Git fromhere and then Install it.
- Run your Git Bash, then copy and write the following Commands to Configure your git with your Github Account. (Required)
git config --global user.name"your_username"- Then Copy and paste the following command with your Github Email and run.
git config --global user.email"your_email_address"- You are Good to go👌👍.
- Fork this repository by clicking on the top right corner where it is written
Fork. - Now for Cloning the repository into you PC, copy the URL in the address bar and use the following command.
git clone url_you_just_copied
- Now again open git bash in the directory you just clone the repository and execute the following commands replacing username with your GitHub username.
git checkout -b username
- Open this cloned repository in your preferred code editor.
- Go to the related Language Folder. Copy and paste following comments at the Top of your program and fill the information✌.
Name: Here goes your nameUsername: Here goes your GitHub usernameApproach: It should be concise your solution approach to solve the problem
- Once you have done all this, commit your changes to GitHub. You can do this with the following commands. Make sure you execute them in the precise order one after another in your terminal.
# copy and paste the following in the terminalgit add.# copy and paste the following in the terminal after you have executed the previous commandgit commit -m"hacktoberfest contribution"# copy and paste the following in the terminal after you have executed the previous commandgit push -u origin your_github_username
- Now open the forked repository on your GitHub. You will see a yellow box at the top telling you that some changes are pushed. You will also see a button called Compare & pull request. Click on it. (Note: if yellow box doesn't appear then wait for Half an hour, it will appear.)
- Now add a title, some description and you have opened a pull request in this repository💖.
About
Contribution to open Source leetcode solution Repo. It would help you in getting different approaches to solve a problem
Resources
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- Python39.5%
- C++29.4%
- JavaScript15.0%
- Java11.7%
- Ruby2.7%
- Rust1.7%