摘要: 原题链接在这里:https://leetcode.com/problems/paint-fence/ 题目: There is a fence with n posts, each post can be painted with one of the k colors. You have to p 阅读全文
posted @ 2016-03-05 04:40 Dylan_Java_NYC 阅读(508) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/strobogrammatic-number-ii/ 题目: A strobogrammatic number is a number that looks the same when rotated 180 degrees 阅读全文
posted @ 2016-03-05 04:01 Dylan_Java_NYC 阅读(949) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/strobogrammatic-number/ 题目: A strobogrammatic number is a number that looks the same when rotated 180 degrees (l 阅读全文
posted @ 2016-03-05 02:33 Dylan_Java_NYC 阅读(297) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/zigzag-iterator/ 题目: Given two 1d vectors, implement an iterator to return their elements alternately. For examp 阅读全文
posted @ 2016-03-05 00:08 Dylan_Java_NYC 阅读(307) 评论(0) 推荐(0)