ISRO 2017 · Graph Traversals (BFS & DFS)

MCQ · 1 mark · Problem PROG-GRPH-0126

Which of the following data structure is useful in traversing a given graph by breadth first search?
  1. A
    Stack
  2. B
    Queue
  3. C
    List
  4. D
    None of the above

Solve it on GATE DA practice →More Graph Theory & Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/129119/isro2017-17

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com