LeetCode 708: Insert into a Sorted Circular Linked List
Problem Restatement We are given a node from a sorted circular linked list. The list is sorted in non-decreasing order, but the given node may be any node in the list. It is not necessarily the smallest node. We are also given an integer: insertVal We need to insert a new node with value insertVal into the circular linked list so that the list remains sorted. If the list is...