Concept Flow - Detect if a Linked List is Circular
Start at head
Set slow and fast pointers to head
Move slow by 1 step, fast by 2 steps
Check if fast or fast.next is None?
Yes→No cycle, return False
No
Check if slow == fast?
Yes→Cycle detected, return True
↩Back to move pointers step
Start with two pointers at the head. Move one slowly and the other faster. If they meet, the list is circular. If the fast pointer reaches the end, it's not circular.