LeetCode Solution, Medium, 725. Split Linked List in Parts
725. Split Linked List in Parts
題目敘述
Given the head of a singly linked list and an integer k, split the linked list into k consecutive linked list parts.
The length of each part should be as equal as possible: no two parts should have a size differin...
blog.taiwolskit.com5 min read