摘要:
Author: hozhangel Time: 2018-08-11 20:31:01 206. Reverse Linked List problem description: Reverse a singly linked list. Example: Input: 1->2->3->4->5- 阅读全文
摘要:
86. Partition List Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You s 阅读全文
摘要:
83. Remove Duplicates from Sorted List (相似题目:82. Remove Duplicates from Sorted List II) Given a sorted linked list, delete all duplicates such that ea 阅读全文
摘要:
82. Remove Duplicates from Sorted List II Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from 阅读全文
摘要:
https://leetcode.com/problems/rotate-list/description/ Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 阅读全文