Collection of DSA problems and solutions
Rules : Use proper folders and subfolders to define catagory and put program file(c/c++/java/python/js) and explanation in a readme file
HACKTOBERFEST 2021 IS HERE !!! What is Hacktoberfest ? Hacktoberfest is a month-long challenge. It happens every year in the month of October. Hacktoberfest is open to everyone and it marks the celebration of Open Source. It's the biggest Open Source event that encourages newbies to participate in Open Source and create their 1st meaningful PR. Rewards: You get some awesome goodies which include A limited-edition T-shirt for FREE! and some stickers. How can you Join? Navigate to the link below and follow the instructions. https://hacktoberfest.com/
✅ Pull requests can be submitted to any opted-in repository on GitHub or GitLab.
✅ The pull request must contain commits you made yourself.
✅ If a maintainer reports your pull request as 'spam' or 'invalid', it will not be counted toward your participation in Hacktoberfest.
✅ If a maintainer reports behaviour that’s not in line with the project’s code of conduct, you will be ineligible to participate.
✅ To get a shirt, you must make four approved pull requests (PRs) on opted-in projects between October 1-31 in any time zone. This year, the first 40,000 participants can earn a T-shirt.
❌ PRs that are automated (e.g. scripted opening PRs to remove whitespace/optimize images)
❌ PRs that are disruptive (e.g. taking someone else’s branch/commits and making a PR)
❌ PRs that are regarded by a project maintainer as a hindrance vs. helping
❌ Something that’s clearly an attempt to simply +1 your PR count for October
- Fork this repository to your account.
-
Go to Git Bash and Clone the forked repository using :
a. Clone the repository
git clone https://github.com/your_username/make-pull-request
- Open the folder in your favourite code editor and add your changes or modifications.
- After making changes or modification on to your code locally, you need to add these files to the staging area.
git add <file-name>
- Once files added, you need to commit the changes to with an appropriate commit message.
git commit -m "<your-message>"
- After commiting the changes, you need to push the changes
git push origin <branch-name>
-
Once you push the changes to your repository, the Compare & pull request button will appear in GitHub.
-
Click it and you'll be taken to this screen
-
Type a proper description and give the PR an appropriate title. Finally, Open a pull request by clicking the Create pull request button.
-
That's it. You have opened a PR. Wait for it to get merged.