Skip to content

Commit a732e28

Browse files
authored
Update maximum-value-sum-by-placing-three-rooks-i.cpp
1 parent 5f173c4 commit a732e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/maximum-value-sum-by-placing-three-rooks-i.cpp

+1-1
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
// heap, brute force

0 commit comments

Comments
 (0)