Pregunta de entrevista de Veritas Technologies

Write algorithm for BFS (without any auxiliary storage).