摘要: Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 题目标签:Linked List 题目给了我们一个 Linked List,让我 阅读全文
posted @ 2017-11-23 08:12 Jimmy_Cheng 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, 阅读全文
posted @ 2017-11-23 07:55 Jimmy_Cheng 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 题目标签:Lin 阅读全文
posted @ 2017-11-23 07:14 Jimmy_Cheng 阅读(363) 评论(0) 推荐(0) 编辑