Question d’entretien chez Veritas Technologies

Write algorithm for BFS (without any auxiliary storage).