Which of the following uses a stack or recursion to explore a graph?
Correct answer
B. Depth-first search
B. Depth-first search
The answer is Depth-first search.
Asked in: Engineering Computer Engineering Practice
https://en.wikipedia.org/wiki/Data_structureNot sure why the answer is B? Ask here and get an explanation.