Pergunta de entrevista da empresa F5

Perform Breadth First Search and code it