Tarjan: Difference between revisions
m
→{{header|J}}
(J) |
m (→{{header|J}}) |
||
Line 628:
<syntaxhighlight lang=J>tarjan=: {{
cocurrent temp=. cocreate''
coerase temp NB. (names defined below with =: will be erased on exit from tarjan)
graph=: y NB. connection matrix of a directed graph
result=: stack=: i.index=: 0
|