DataNimbus interview question

how do you know where is loop in a linked list?