mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Fix word typos in comments (#4928)
* fixed: spelling nonegative -> non-negative * fixed: spelling transpostiion -> transposition * fixed: spelling topolical -> topological * fixed: spelling sufix -> suffix
This commit is contained in:

committed by
GitHub

parent
d530d2bcf4
commit
90db98304e
@ -10,7 +10,7 @@ vertices = ["a", "b", "c", "d", "e"]
|
||||
|
||||
|
||||
def topological_sort(start, visited, sort):
|
||||
"""Perform topolical sort on a directed acyclic graph."""
|
||||
"""Perform topological sort on a directed acyclic graph."""
|
||||
current = start
|
||||
# add current to visited
|
||||
visited.append(current)
|
||||
|
Reference in New Issue
Block a user