Which data structure is used to implement depth-first search (DFS) of a graph?
PYQ CoCubes 2025
Which data structure is used to implement depth-first search (DFS) of a graph?
- A.
Queue
- B.
Stack
- C.
LinkedList
- D.
None of the above
Attempted by 1182 students.
Sign up free to check your answer
Sign up freeLoading lesson…

