Click on algorithme BFS to open the resource.