Tarjan: Difference between revisions

m
Line 628:
 
<syntaxhighlight lang=J>tarjan=: {{
coerase ([ cocurrent) cocreate'' NB. following =: declarations are temporary, expiring when we finish
cocurrent temp=. cocreate''
coerase temp
graph=: y NB. connection matrix of a directed graph
result=: stack=: i.index=: 0
6,962

edits