Question d’entretien chez Google

Basic programming questions can be solved using BFS.