Solutions of leetcode.com, for practice.
- If a problem has multiple solutions, the worst solution will have the biggest postfix number.
- Some solutions are not original, I learned a lot from masters, their leetcode ID will be mentioned in comment.
Copyright (C) 2013-2015 ZhiQiang Fan [email protected]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Please note that NOT all solutions are implemented by myself, i search some solution on leetcode.com, and if i refactor or optimize any solution of my old ones, which uses other people's work, i will comment it out in my solution. If the original author does not want to grant me that permission, please contact me at [email protected].
Any solution does not contain other people's contribute is totally my personal work, please note the copyright and license announcement.