Here is how I did it
start: left
skipNext
goto start
goto double
double: left
left
goto double
The idea comes from the "find a loop in a singlely linked list in O(1) space" problem.One pointer moves twice as fast the as the other one.