Topological sort: Difference between revisions
Content added Content deleted
Line 3,408: | Line 3,408: | ||
if k1$=k2$ then continue |
if k1$=k2$ then continue |
||
if exist(final, k2$) then continue |
if exist(final, k2$) then continue |
||
push k2$ \\ push to |
push k2$ \\ push to top of stack |
||
return m, k2$:="" |
return m, k2$:="" |
||
delthis++ |
delthis++ |