Concept Flow - Insert at End of Circular Linked List
Create new node
Is list empty?
Yes→new_node.next = new_node; head = new_node
No
Start at head
Traverse until current.next == head
Set current.next = new_node
Set new_node.next = head
Done
Insert a new node by creating it, then either initialize the list if empty or traverse to the last node and link the new node at the end pointing back to head.
