Sunday , January 22 2017
Home / C / C program for dfs – Depth First Search

C program for dfs – Depth First Search

This is a c program for DFS – depth first search In which the the searching goes on to all the siblings first rather than the nodes i.e the first item searched is the leftmost leaf node. Moreover you have to enter the number of nodes in the graph and the adjacency matrix. Though leftmost node is searched still extra provision has been made here you have been asked for which node you want to search first ” starting node ” in DFS.


c program for DFS

Incoming Terms: dfs, depth first search, c program for dfs


Also See:   c program for pattern#6

Check Also

Hide Mouse Pointer C Program

How to Hide a Mouse Pointer Program in C : This program will show and hide ...

Leave a Reply

Your email address will not be published. Required fields are marked *

Preventing spam * Time limit is exhausted. Please reload the CAPTCHA.