2674. Split a Circular Linked List
Linked ListTwo Pointers
Hints
Hint 1
Do a while loop to calculate the size of the linked list.
Hint 2
Determine the size of the first half and create a new linked list in its size.
Hint 3
Do not forget that this half itself should be circular!
Hint 4
Use the previous hints for the second half.
Preparing judge…