Consider an undirected graph G=(V,E), where V={A,B,C,D,E,F} and the edges are E={(A,B),(A,C),(B,D),(C,D),(C,E),(D,F),(E,F)}. Starting from vertex A, which of the following sequences represents the correct order of vertex visits by the BFS?
a) A,B,C,D,E,F
b) A,C,B,E,D,F
c)A,B,C,D,F,E
d)A,C,B,D,F,E
e) A,B,C,E,D,F
Original idea by Thalia Anastácia da Silva Araujo
Nice question, but we already have some of the same type.
ResponderExcluir