Skip to content

Commit 5f173c4

Browse files
authored
Update maximum-value-sum-by-placing-three-rooks-ii.py
1 parent ae135cf commit 5f173c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/maximum-value-sum-by-placing-three-rooks-ii.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(m * n * logk + nCr((k-1)*(2*k-1)+1), 3) * k) = O(m * n)
1+
# Time: O(m * n * logk + nCr((k-1)*(2*k-1)+1), k) * k) = O(m * n)
22
# Space: O(k * (m + n)) = O(m + n)
33

44
import heapq

0 commit comments

Comments
 (0)