...

/

Split Linked List in Parts

Split Linked List in Parts

Try to solve the Split Linked List in Parts problem.

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.