2 ms·
So you had a bad interviewer... cycle detection is a really deep question, read up on it: http://en.wikipedia.org/wiki/Cycle_detection http://en.wikipedia.org/
by andreyf 18y ago
So you had a bad interviewer... cycle detection is a really deep question, read up on it:
http://en.wikipedia.org/wiki/Cycle_detection http://en.wikipedia.org/wiki/Cycle_detection