linked_list
025.Reverse-Nodes-in-k-Group (H-) 061.Rotate-List (M) 082.Remove-Duplicates-from-Sorted-List-II (M+) 086.Partition-List (M) 142.Linked-List-Cycle-II (M+) 109.Convert-Sorted-List-to-Binary-Search-Tree (M) 092.Reverse-Linked-List-II (H-) 143.Reorder-List (H-) 369.Plus-One-Linked-List (M) 430.Flatten-a-Multilevel-Doubly-Linked-List (H-) 457.Circular-Array-Loop (H-) 708.Insert-into-a-Cyclic-Sorted-List (H-) 1474.Delete-N-Nodes-After-M-Nodes-of-a-Linked-List (M+) 1670.Design-Front-Middle-Back-Queue (M+) 1756.Design-Most-Recently-Used-Queue (H)
Dummy node trick
Dummy Node trick: Maintain a list dummy head and actual tail pointer
Used across all linked list modification operations
Common tasks
Find median
Reverse list
Merge sorted list
Last updated