Tarjan: Difference between revisions

Content added Content deleted
m (→‎{{header|REXXl}}: Use node names 0 to 7 to be compatible with other solutions)
m (→‎{{header|REXX}}: corrected the language name (of REXXl ---> REXX) in the section header for the REXX language entry.)
Line 1,024: Line 1,024:
Strongly connected components: (Andy Bart Carl)(Dave Earl)(Fred Gary)(Hank)</pre>
Strongly connected components: (Andy Bart Carl)(Dave Earl)(Fred Gary)(Hank)</pre>


=={{header|REXXl}}==
=={{header|REXX}}==
<lang rexx>/* REXX - Tarjan's Algorithm */
<lang rexx>/* REXX - Tarjan's Algorithm */
/* Vertices are numbered 1 to 8 (instead of 0 to 7) */
/* Vertices are numbered 1 to 8 (instead of 0 to 7) */