摘要: 原题链接在这里: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 阅读(490) 评论(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 阅读(933) 评论(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 阅读(289) 评论(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 阅读(303) 评论(0) 推荐(0) 编辑