United Internet interview question

Dijkstra two-stack algorithm, Fizz-Buzz task