Advertisement
Guest User

Untitled

a guest
Apr 27th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. void DFS(){
  2. for(int v = 1; v <= n; v = v+1){
  3. if(visited[v] == false)
  4. DFS_visit(v);
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement