Domanda di colloquio di Via Transportation

How do you think the algorithm works