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!
- 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.
- Fork this repo
- Clone your forked repo (
git clone https://github.com/YOUR_GITHUB_USERNAME/Leetcode.git
) onto your local machine
-
cd
into your cloned directory, create your feature branch (git checkout -b my-awesome-fix
)
-
git add
your desired changes to this repo
- Commit your changes (
git commit -m 'Added some awesome features/fixes'
)
- Push to the branch (
git push origin my-awesome-feature
)
- Open your forked repo on Github website, create a new Pull Request to this repo!
Best way to open this project
- Install IntelliJ on your machine, either CE or UE.
- git clone this repo to your local disk
- import this project as a new project (does need to be imported as a gradle project)
- 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.