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:
Sarvesh Kumar Dwivedi
2021-10-04 09:37:58 +05:30
committed by GitHub
parent d530d2bcf4
commit 90db98304e
4 changed files with 5 additions and 5 deletions

View File

@ -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)