This repository contains solutions and resources for LeetCode algorithm problems.
The solutions are derived from my own thinking and the discussion. They are cleaned and optimized carefully, thus more readable and understandable!
An excel table for quick review before interview is also provided in resources directory.
Also want to access all codes on your Android phone? Get APAS from GooglePlay here!
A table for all problems. Great for reference and review purpose!
This table has 5 sheets:
Each problem row has name, level, idea, code and frequency analysis.
Important and hard problems have bold title and key points are marked red.
LeetCode problems are not always enough. Some other popular or classic algorithm problems that worth taking a look are put in "src/main/java/com/freetymekiyan/algorithms/other/" directory for your reference.
Current resources are as followed:
The MIT License (MIT) Copyright (c) 2015 Yang Liu. http://freetymekiyan.github.io Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.