Circular Linked List Time Complexity