摘要:
Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:Can you solve it without ... 阅读全文
摘要:
Insertion Sort ListSort a linked list using insertion sort.SOLUTION: 使用一个dummynode 创建一个新的链,将旧的节点插入到新链中即可,相当简单哦! 1 /** 2 * Definition for singly-linke... 阅读全文