Domanda di colloquio di Bloomberg

One was a breadth first search question