Jump to content

Topological sort/Extracted top item: Difference between revisions

m
→‎{{header|Pascal}}: some code correction
(Pascal draft)
m (→‎{{header|Pascal}}: some code correction)
Line 836:
end;
begin
if not g.ContainsKey(aTarget) then exit([aTarget]);
Stack := TList<string>.Create;
Visited := THashSet<string>.Create;
73

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.