Topic: Linked List Problem / Level: intermediate

Problem: How do you rearrange nodes in a circular singly linked list so that the first half is in ascending order and the second half is in descending order?

Run the code to see the output here...