Domanda di colloquio di CareerBuilder

Algorithm question related to graph traversal.