Skip to content

Commit cef217a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 80cc148 commit cef217a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphs/traveling_salesman_problem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ def tsp_greedy(graph: list[list[int]]) -> int:
9797
>>> tsp_greedy([[0, 29, 20], [29, 0, 15], [20, 15, 0]])
9898
64
9999
>>> tsp_greedy([
100-
[0, 10, 15, 20],
100+
[0, 10, 15, 20],
101101
[10, 0, 35, 25],
102-
[15, 35, 0, 30],
102+
[15, 35, 0, 30],
103103
[20, 25, 30, 0]
104104
])
105105
80

0 commit comments

Comments
 (0)