Here is a visual of the algorithm:
# coroutines
t
Here is a visual of the algorithm: