用python和java解决了Leetcode上部分问题,另外还有对常规算法和机器学习算法的一些实现,例如用遗传算法解物流配送问题。
| serial number | Title | Solution | Add date | Difficulty |
|---|---|---|---|---|
| 001 | Two Sum | C++ | 2016/4/18 | Easy |
| 007 | Reverse Integer | C++ | 2016/4/11 | Easy |
| 008 | String to Integer(atoi) | C++ | 2016/4/20 | Easy |
| 009 | Palindrome Number | C++ | 2016/4/26 | Easy |
| 044 | Wildcard Matching | Python | 2016/4/1 | Hard |
| 051 | N-Queens | C++ | 2016/5/18 | Hard |
| 092 | Reverse Linked List II | Python | 2017/11/28 | Medium |
| 095 | Unique Binary Search Trees | Python | 2017/11/28 | Medium |
| 097 | Interleaving String | Python | 2017/11/28 | Hard |
| 098 | Validate Binary Search Tree | Python | 2017/11/28 | Medium |
| 099 | Recover Binary Search Tree | Python | 2017/11/28 | Hard |
| 118 | Pascal's Triangle | Python | 2016/4/17 | Easy |
| 151 | Reverse Words in a String | Python | 2017/11/28 | Medium |
| 227 | Basic Calculator II | C++ | 2016/4/16 | Medium |
| 229 | Majority Element II | Python | 2016/4/11 | Medium |
| 231 | Power of Two | Python | 2016/3/28 | Easy |
| 232 | Implement Queue using Stacks | C++ | 2016/4/1 | Easy |