2018年3月18日
摘要: 1. Rotate List Given a list, rotate the list to the right by k places, where k is non-negative. Example: 思路:这题感觉有点没有说清楚,如果k大于了链表长度该怎么办呢?这个时候怎么确定旋转位置呢? 阅读全文
posted @ 2018-03-18 19:29 f91og 阅读(244) 评论(0) 推荐(0) 编辑