18 LinkedList
普通的linkedList修改:
86 Partition List(L96)
237 Delete Node in a Linked List (L372)
148 Sort List (L98)
160 Intersection of Two Linked Lists (L380)--ctci 2.7
138 Copy LIst with Random Pointer (L105) -- coding interview 54
147 Insertion Sort List (L173)
24 Swap Nodes in Pairs (L451)
L511 Swap Two Node in Linked List
143 Reorder List (L99)
379 Design Phone Directory
708 Insert into a Cyclic Sorted List
Remove from list:
19 Remove Nth Node From End of List (L174)
203 Remove Linked List Elements (L452)
83 Remove Duplicates from Sorted List (L112)
82 Remove Duplicates from Sorted List II ( L113)
L217 Remove Duplicate from unsorted List
Reverse Linked List:
206 Reverse Linked List (L35)
92 Reverse Linked List II (L36) -- 同样解法 287 Find the Duplicate number
25 Reveres Nodes in K - Group (L450)
2 pointer的linkedlist:快慢指针
141 Linked List Cycle (L102)
142 Linked List Cycle II (L103) -- ctci 2.8
234 Palindrome Linked List (L223)
61 Rotate List (L170)
1721 Swapping Nodes in a Linked List
LinkedList to Tree / List to Tree
L106 Convert Sorted List to Balanced BST (109)
L378 Convert Binary Search Tree to Doubly Linked List
L453 Flatten Binary Tree to Linked List
L242 Convert Binary Tree to Linked Lists by Depth
other related:
108 Convert Sorted Array to Binary Search Tree
面经:4 way list ?
Add numbers :
2 Add Two Numbers (L167)
445 Add Two Numbers II (L221)
369 Plus One Linked List -- (L407 - plus one for array)
Merge list :
21 Merge Two Sorted Lists (L165)
23 Merge k Sorted Lists (L104)
Other related:
Last updated