The text has a variant ( the slowPtr & fastPtr implementation).
But it questions wether the implementation is correct. Since this is the first question of this nature, i assume its wrong. My question is why?
8.3 Determine starting point of the cycle on a linked list
pdny
#1
0 Likes
Hey @pdny,
In fact, that implementation is correct, but you need to figure out why it is correct
0 Likes