摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any po 阅读全文
posted @ 2019-04-22 14:23 GoodRnne 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Example 2:Input: 0->1->2->NULL, k = 4 Output: 2->0- 阅读全文
posted @ 2019-04-22 11:51 GoodRnne 阅读(201) 评论(0) 推荐(0) 编辑