Question DSA-STK-0056
MediumWhich algorithm uses an explicit stack to traverse a graph?
- A.
Breadth-first search
- B.
Prim's algorithm
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Stacks question
Which algorithm uses an explicit stack to traverse a graph?
Breadth-first search
Prim's algorithm
Sign up free to see the answer and a step-by-step explanation.
Dijkstra's algorithm
Iterative depth-first search