Question d’entretien chez Bose

How to do BFS and DFS?