Concept Flow - Detect if a Linked List is Circular
Start at head node
Initialize two pointers: slow and fast
Move slow by 1 step, fast by 2 steps
Check if fast or fast.next is null?
Yes→No cycle, return false
No
Check if slow == fast?
Yes→Cycle detected, return true
↩Back to move pointers step
Start with two pointers moving at different speeds; if they meet, the list is circular; if fast pointer reaches null, it's not.
