Skip to content

Commit e346eae

Browse files
author
luzhipeng
committed
fix: typo
1 parent 267992d commit e346eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/1186.maximum-subarray-sum-with-one-deletion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ https://leetcode.com/problems/maximum-subarray-sum-with-one-deletion/
7474
- 一层遍历, 建立r数组,r[i]表示从右边开始的以arr[i]结尾的subArraySum的最大值
7575
- 一层遍历, 计算 l[i - 1] + r[i + 1] 的最大值
7676
> l[i - 1] + r[i + 1]的含义就是删除arr[i]的子数组最大值
77-
- 上面的上个步骤得到了删除一个的子数组最大值, 不删除的只需要在上面循环顺便计算一下即可
77+
- 上面的这个步骤得到了删除一个的子数组最大值, 不删除的只需要在上面循环顺便计算一下即可
7878

7979

8080

0 commit comments

Comments
 (0)