![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LinkedList
这个昵称有十五个字不信你数数
我有点可爱哈哈哈哈哈哈哈
展开
-
[LeetCode] 143. Reorder List
Given a singly linked listL:L0→L1→…→Ln-1→Ln, reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→… You maynotmodify the values in the list's nodes, only nodes itself may be changed. Example 1: Given 1->2-...原创 2020-01-05 19:39:57 · 113 阅读 · 0 评论 -
[LeetCode] 61. Rotate List
Given a linkedlist, rotate the list to the right bykplaces, wherekis non-negative. Example 1: Input: 1->2->3->4->5->NULL, k = 2 Output: 4->5->1->2->3->NULL Explan...原创 2019-12-29 11:13:55 · 106 阅读 · 0 评论