Trimble interview question

how to identify a loop in linkedlists?