Applied Materials interview question

finding loop in a linked list.