Question d’entretien chez Google

Asked about BFS told me to write pseudo code