摘要: 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 space i... 阅读全文
posted @ 2015-01-16 22:51 雄哼哼 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.注意下k>... 阅读全文
posted @ 2015-01-16 22:40 雄哼哼 阅读(135) 评论(0) 推荐(0) 编辑