We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a85256 commit 607a993Copy full SHA for 607a993
sorts/topological_sort.py
@@ -15,7 +15,6 @@
15
vertices: list[str] = ["a", "b", "c", "d", "e"]
16
17
18
-
19
def topological_sort(start: str, visited: list[str], sort: list[str]) -> list[str]:
20
"""Perform topological sort on a directed acyclic graph."""
21
current = start
0 commit comments