Concept Flow - Insert at Beginning of Circular Linked List
Create new node
Is list empty?
Yes→new_node.next = new_node
| No
Traverse to last node
last_node.next = new_node
new_node.next = head
head = new_node
Done
Start by creating a new node. If the list is empty, point new node to itself. Otherwise, find the last node, update its next to new node, set new node's next to old head, and update head to new node.
