โ† PayU questions

Detect loop in a singly linked list

Filed under PayU

The question

Given a singly linked list, write an algorithm to detect if a loop exists within it.

No write-up yet. Related questions below have one.

Related PayU questions

Collected from public candidate posts and coding forums. Updated Nov 2026.