leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

LeetCode题解,151道题完整版。广告:推荐刷题网站 https://www.lintcode.com/?utm_source=soulmachine

Results 51 leetcode issues
Sort by recently updated
recently updated
newest added

Add two number problem leetcode

我居然非常期待python版本

爬n阶楼梯有两种方法, 从n-1爬1步和n-2爬两步

Original method will return wrong position. ![screenshot from 2017-11-15 16-19-23](https://user-images.githubusercontent.com/24852034/32825700-e26eab84-ca20-11e7-97d4-3a1abbc89c89.png)

In LRU Cache, after moving a node in the list to the front, it updated `cacheMap[key]` to `cacheList.begin()`. But I don't think the iterator to the node will be changed...