Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 023a5aa

Browse files
authored
Update 1043.partition-array-for-maximum-sum.md
1 parent b5e1975 commit 023a5aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

problems/1043.partition-array-for-maximum-sum.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Solution:
9797

9898
令 n 为数组长度。
9999

100-
- 时间复杂度:$O(n^2)$
100+
- 时间复杂度:$O(n * k)$
101101
- 空间复杂度:$O(n)$
102102

103103
## 动态规划
@@ -140,7 +140,7 @@ class Solution:
140140

141141
令 n 为数组长度。
142142

143-
- 时间复杂度:$O(n^2)$
143+
- 时间复杂度:$O(n * k)$
144144
- 空间复杂度:$O(n)$
145145

146146
> 此题解由 [力扣刷题插件](https://leetcode-pp.github.io/leetcode-cheat/?tab=solution-template) 自动生成。

0 commit comments

Comments
 (0)