Skip to content

Solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more.

License

Notifications You must be signed in to change notification settings

fishercoder1534/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9db17c3 · Apr 7, 2025
Aug 16, 2024
Jan 12, 2025
Aug 2, 2024
Aug 16, 2024
Jan 5, 2025
Apr 7, 2025
Dec 1, 2024
Sep 8, 2018
Apr 7, 2025
Nov 7, 2024
Jul 13, 2020
Oct 10, 2017
Apr 5, 2019
Aug 1, 2024
Sep 8, 2024
Feb 2, 2021
Mar 14, 2018
Mar 14, 2018
Aug 21, 2017

Repository files navigation

If you like this project, please leave me a star.

"For coding interview preparation, LeetCode is one of the best online resource providing a rich library of more than 300 real coding interview questions for you to practice from using one of the 7 supported languages - C, C++, Java, Python, C#, JavaScript, Ruby."

Algorithms

For problems 1 to 999

For problems 1000 to 1999

For problems 2000 to 2999

For problems 3000 to 3999

Database

All database problems

Shell

All shell problems

Javascript

All Javascript problems

Contributing

Your ideas/fixes/algorithms are more than welcome!

  1. Please make sure your PR builds after submitting! Check out here: https://travis-ci.org/github/fishercoder1534/Leetcode/pull_requests and look for your PR build.
  2. Fork this repo
  3. Clone your forked repo (git clone https://github.com/YOUR_GITHUB_USERNAME/Leetcode.git) onto your local machine
  4. cd into your cloned directory, create your feature branch (git checkout -b my-awesome-fix)
  5. git add your desired changes to this repo
  6. Commit your changes (git commit -m 'Added some awesome features/fixes')
  7. Push to the branch (git push origin my-awesome-feature)
  8. Open your forked repo on Github website, create a new Pull Request to this repo!

Best way to open this project

  1. Install IntelliJ on your machine, either CE or UE.
  2. git clone this repo to your local disk
  3. import this project as a new project (does need to be imported as a gradle project)
  4. If you run into "Could not determine Java version using executable ..." error, use local gradle distribution: "/usr/local/Cellar/gradle/4.8.1/libexec/" instead of the default one. More details, see this question on Stackoverflow.