Skip to content

Commit fc4ee00

Browse files
authored
Update maximum-sum-of-edge-values-in-a-graph.py
1 parent d715d7f commit fc4ee00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/maximum-sum-of-edge-values-in-a-graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""
66
n = 11
77
edges = [[0,1],[1,2],[2,3],[5,6],[6,7]]
8-
max is 367 but ans is 366, which is wrong
8+
max is 367 but ans is 366, which is wrong by greedy
99
"""
1010
class Solution_WA(object):
1111
def maxScore(self, n, edges):

0 commit comments

Comments
 (0)