Vidyalelo
Data Structure · Q3

Graph Algorithms (DFS, BFS, Dijkstras, etc)

Programming · Data Structure · question 3

Q3

In Depth-First Search (DFS), what is the order of visiting nodes?

A.
Level order
B.
Inorder
C.
Postorder
D.
Preorder
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board