diff --git a/Graph/DFS.cpp b/Graph/DFS.cpp new file mode 100644 index 000000000..66a5f2b3c --- /dev/null +++ b/Graph/DFS.cpp @@ -0,0 +1,27 @@ +#include +using namespace std; +int v = 4; +void DFSUtil_(int graph[4][4],bool visited[],int s){ + visited[s] = true; + cout<