Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Graph Depth First Search

Language: Editor: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.23 sec, absolute running time: 0.07 sec, cpu time: 0.01 sec, memory peak: 3 Mb, absolute service time: 0,3 sec 
edit mode |  history  | discussion
Adjacency list of vertex 0
3->2->1->
Adjacency list of vertex 1
2->0->
Adjacency list of vertex 2
1->0->
Adjacency list of vertex 3
0->
Visited 3
Visited 0
Visited 2
Visited 1