Split Linked List in Parts
Try to solve the Split Linked List in Parts problem.
We'll cover the following...
Statement
You are given head
of a singly linked list and an integer, k
. Your task is to split the linked list into k
consecutive parts.
Each part should have a size as equal as possible, with the ...
Access this course and 1400+ top-rated courses and projects.