Pergunta de entrevista da empresa Veritas Technologies

Write algorithm for BFS (without any auxiliary storage).