Skip to content

Commit

Permalink
Merge pull request youngyangyang04#2074 from janeyziqinglin/master
Browse files Browse the repository at this point in the history
53.最大子序和
  • Loading branch information
youngyangyang04 authored May 28, 2023
2 parents 9168b90 + b794dcc commit 60a2d4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions problems/0053.最大子序和(动态规划).md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ Python:
```python
class Solution:
def maxSubArray(self, nums: List[int]) -> int:
if len(nums) == 0:
return 0
dp = [0] * len(nums)
dp[0] = nums[0]
result = dp[0]
Expand Down

0 comments on commit 60a2d4b

Please sign in to comment.