mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 01:56:26 +08:00
chore: fix typos (#11467)
* chore: fix typos Signed-off-by: snoppy <michaleli@foxmail.com> * Apply suggestions from code review Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com> --------- Signed-off-by: snoppy <michaleli@foxmail.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
This commit is contained in:
@ -38,7 +38,7 @@ def find_components(
|
||||
reversed_graph: dict[int, list[int]], vert: int, visited: list[bool]
|
||||
) -> list[int]:
|
||||
"""
|
||||
Use depth first search to find strongliy connected
|
||||
Use depth first search to find strongly connected
|
||||
vertices. Now graph is reversed
|
||||
>>> find_components({0: [1], 1: [2], 2: [0]}, 0, 5 * [False])
|
||||
[0, 1, 2]
|
||||
|
Reference in New Issue
Block a user