Member • Feb 21, 2008
Data Structure/Algorithm Challenger I
Sometimes, while working with the list, it somehow gets corrupted. The corrupt node is pointing to some previous node instead of next node. So a circle is created in the list.
Test for the existence of circle (i.e., check if the list is corrupt).