Search This Blog

What is Depth First Search (DFS)?




Depth First Search as name suggests this algorithm traverse a graph in depth (means depth-ward)
And uses stack data structure. User can start the traverse from any vertex.

Follow the serial number to traverse the vertex:




Post a Comment

0 Comments