mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-19 04:07:36 +00:00
Fixed
This commit is contained in:
parent
3ceccfb59c
commit
b5a25700d1
@ -19,4 +19,4 @@ def topological_sort(start: str, visited: list[str], sort: list[str]) -> list[st
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sort = topological_sort("a", [], [])
|
sort = topological_sort("a", [], [])
|
||||||
sort.reverse() #Top down approach
|
sort.reverse() #Top down approach
|
||||||
print(sort)
|
print(sort)
|
Loading…
x
Reference in New Issue
Block a user