Synopsys interview question

How to detect a loop in a linked list?

Interview Answer

Anonymous

20 May 2011

By using two pointers.