13,232 views
10 votes
10 votes

Which of the following data structure is useful in traversing a given graph by breadth first search?

  1. Stack
  2. Queue
  3. List
  4. None of the above

8 Answers

Answer:

Related questions

6 votes
6 votes
1 answer
1
sh!va asked May 7, 2017
18,633 views
The best data structure to check whether an arithmetic expression has balanced parenthesis is a:QueueStackTreeList
5 votes
5 votes
3 answers
2
sh!va asked May 7, 2017
4,450 views
Which of the following algorithms solves the all pair shortest path problem?Prim's algorithmDijkstra's algorithmBellman ford algorithmFloyd warshalls algorithm
0 votes
0 votes
0 answers
3
Tuhin Dutta asked Dec 12, 2017
373 views
Starting vertex is : $V_1$Find the BFS traversal sequence