Tarjan: Difference between revisions

m
(J)
Line 628:
 
<syntaxhighlight lang=J>tarjan=: {{
cocurrent temp=. cocreate''
coerase temp NB. (names defined below with =: will be erased on exit from tarjan)
coerase temp
graph=: y NB. connection matrix of a directed graph
result=: stack=: i.index=: 0
6,962

edits