Skip to content

Commit 374d7c2

Browse files
committed
Runtime: 1313 ms (Top 92.99%) | Memory: 41.50 MB (Top 72.32%)
1 parent f65bcc9 commit 374d7c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/algorithms/M/Maximum Total Importance of Roads/Maximum Total Importance of Roads.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Runtime: 1313 ms (Top 92.99%) | Memory: 41.50 MB (Top 72.32%)
2+
13
class Solution:
24
def maximumImportance(self, n: int, roads: List[List[int]]) -> int:
35
Arr = [0] * n # i-th city has Arr[i] roads

0 commit comments

Comments
 (0)