by kbutler · 2y ago · 0 comments
From the initial state, with the hand pointing to A(visited), when the request for H comes in, A is marked unvisited before moving the hand.
When the hand is pointing to D(visited) and the request for I comes in, it should mark D unvisited before moving the hand. This "feels wrong" because D had just barely been marked visited, but it is an implication of the SIEVE algorithm.
It's generally a red flag when a "better, simpler" algorithm is explained with a faulty illustration, suggesting the author overlooked or misunderstood the implications of the algorithm.