Create a circular list and traverse to print all elements!
Hi! I'm Teju 👋 We'll create a circular singly linked list where the last node points back to the first node.
Then we'll traverse and print all elements starting from head.
Input: N (number of nodes), followed by N values
Output: All elements printed in order (one traversal)
Key Feature: Last node → Head (circular connection)
To make it circular: After inserting all nodes, set last.next = head
Enter number of nodes and values to create the circular list...