Trimble Interview Question

how to identify a loop in linkedlists?