451 views
0 votes
0 votes
$0-1$ $BFS$ (Breadth First Search)al is used to find the shortest distance between two nodes in a graph provided
that the edges in the graph have the weights $0$ or $1.$Which of the following data structure is most efficient
in traversing a graph by $0-1$ $BFS?$
$A)$ Priority queue               $B)$Stack                  $C)$ Double-ended queue                 $D)$ Linked list

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
VS asked Nov 26, 2017
991 views
2 votes
2 votes
1 answer
2
4 votes
4 votes
0 answers
3
Na462 asked Aug 21, 2018
3,852 views
Which of following statement is true ?A. In BFS of UDG there are no back edges and forward edges.B. In BFS of Directed Graph there is no back edge and forward edges.C. In...
0 votes
0 votes
0 answers
4