Skip to content

Commit 2684000

Browse files
author
I529010
committed
fix line_too_long
1 parent 3cb8f77 commit 2684000

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

matrix/transitive_closure.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
def transitive_closure(graph: list[list[int]]) -> list[list[int]]:
22
"""
3-
Computes the transitive closure of a directed graph using the Floyd-Warshall algorithm.
3+
Computes the transitive closure of a directed graph using the
4+
Floyd-Warshall algorithm.
45
56
Args:
67
graph (list[list[int]]): Adjacency matrix representation of the graph.

0 commit comments

Comments
 (0)