摘要: 题目: Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty s 阅读全文
posted @ 2017-04-27 10:15 panini 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2 阅读全文
posted @ 2017-04-27 09:57 panini 阅读(178) 评论(0) 推荐(0) 编辑