Skip to content

Contribution to open Source leetcode solution Repo. It would help you in getting different approaches to solve a problem

Notifications You must be signed in to change notification settings

Shoaib19/Leetcode

 
 

Repository files navigation

Hacktoberfest 2022 🎉

Note

'''
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.
'''

🗣 Let's COntribute to Open Sourse 🔥.

📢 This repository aims to help beginners 🤔 with their first successful Pull Request and Open Source Contribution.


⏳ Steps to Follow :

  • Register for Hacktoberfest and get started to make your first PR.
  • Make 4 valid PRs during the period of (1st - 31st) October to earn cool swags.

❗ Contribution Rules :

  • 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.

🌎 Steps to contribute:

  1. (Optional) If git is not install in your Laptop/PC:
    1. Download Git from here and then Install it.
    2. 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"
    1. Then Copy and paste the following command with your Github Email and run.
    git config --global user.email "your_email_address"
    1. You are Good to go👌👍.
  2. Fork this repository by clicking on the top right corner where it is written Fork.
  3. 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
  1. 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
  1. Open this cloned repository in your preferred code editor.
  2. 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 name

Username: Here goes your GitHub username

Approach: It should be concise your solution approach to solve the problem
  1. 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 terminal
git add .
# copy and paste the following in the terminal after you have executed the previous command
git commit -m "hacktoberfest contribution"
# copy and paste the following in the terminal after you have executed the previous command
git push -u origin your_github_username
  1. 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.)
  2. Now add a title, some description and you have opened a pull request in this repository💖.

Show some ❤ by hitting the ⭐ button


Contributors ✨

About

Contribution to open Source leetcode solution Repo. It would help you in getting different approaches to solve a problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 39.5%
  • C 29.5%
  • JavaScript 14.9%
  • Java 11.7%
  • Ruby 2.7%
  • Rust 1.7%