Synopsys Interview Question

How to detect a loop in a linked list?

Interview Answer

Anonymous

May 20, 2011

By using two pointers.