Search⌘ K
AI Features

Split a Circular Linked List

Split a Circular Linked List into two circular lists, preserving node order and giving the first list the extra node when the original length is odd.

Statement

Given a circular linked list, list, of positive integers, split it into two circular linked lists. The ...