摘要: ​给定一个链表,旋转链表,将链表每个节点向右移动 k 个位置,其中 k 是非负数。 Given a linked list, rotate the list to the right by k places, where k is non negative. 示例 1: 示例 2: 解题思路: 如果 阅读全文
posted @ 2019-07-26 10:51 爱写Bug 阅读(95) 评论(0) 推荐(0) 编辑