Back to the 2024 paper

Module 3: Graph and Tree Algorithms

20242m

In DFS traversal of a graph, which data structure is used to keep track of visited nodes?
(i) Queue
(ii) Stack
(iii) Priority Queue
(iv) Heap

Similar questions