Skip to content

Commit 5dfc237

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 55a6d2c commit 5dfc237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎graphs/kahns_algorithm_long.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ def longest_distance(graph: dict[int, list[int]]) -> int:
5656

5757
# Adjacency list of Graph
5858
graph = {0: [2, 3, 4], 1: [2, 7], 2: [5], 3: [5, 7], 4: [7], 5: [6], 6: [7], 7: []}
59-
print(longest_distance(graph))
59+
print(longest_distance(graph))

0 commit comments

Comments
 (0)