Topic: Linked List Problem / Level: advanced

Problem: How do you rearrange nodes in a multilevel circular doubly linked list such that nodes with prime values come before composite values?

Run the code to see the output here...