Concept Flow - Create a Circular Singly Linked List
Create new node with value
Is list empty?
Yes→Set head and tail to new node
Point new_node.next to head
Set tail.next to new node
Update tail to new node
Done
Start by creating a new node. If the list is empty, set head and tail to this node and link it to itself. Otherwise, link the current tail to the new node, link new node back to head, and update tail.