Kosaraju: Difference between revisions

(J)
Line 427:
└─────┴┴┴───┴┴───┴┴─┘
</lang>
 
But it would probably be simpler to convert the result from the tree representation to our directed graph representation:
 
<lang J> ((<@I.@e."1 0)i.@#) 0 0 0 3 3 5 5 7
┌─────┬┬┬───┬┬───┬┬─┐
│0 1 2│││3 4││5 6││7│
└─────┴┴┴───┴┴───┴┴─┘</lang>
 
=={{header|Java}}==
6,951

edits