Skip to content

Commit

Permalink
Update 12.BFS.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurrezzak authored Oct 30, 2017
1 parent b926fc0 commit d86b6de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 12.BFS.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This program applies BFS on a graph constructed from the inputs of the user
*
* Coded by: Abdurrezak EFE
*
* */
#include <iostream>
#include <algorithm>
#include <vector>
Expand Down Expand Up @@ -67,4 +73,4 @@ int main()
cin >> u >> w, g.add_edge(u,w);

g.BFS(0); //starting BFS from vertex 0
}
}

0 comments on commit d86b6de

Please sign in to comment.