If you like this project, please leave me a star. โ
| # | Title | Solutions | Time | Space | Difficulty | Tag |
|---|---|---|---|---|---|---|
| 195 | Tenth Line | Solution | O(n) | O(1) | Easy | |
| 194 | Transpose File | Solution | O(n^2) | O(n^2) | Medium | |
| 193 | Valid Phone Numbers | Solution | O(n) | O(1) | Easy | |
| 192 | Word Frequency | Solution | O(n) | O(k) | Medium |
Your ideas/fixes/algorithms are more than welcome!
- Fork this repo
- Clone your forked repo (
git clone https://github.com/YOUR_GITHUB_USERNAME/Leetcode.git) onto your local machine cdinto your cloned directory, create your feature branch (git checkout -b my-awesome-fix)git addyour 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!
- 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 Stackoverflow.