53. Maximum Subarray

 

https://leetcode.com/problems/maximum-subarray/


Algorithm

1
2
3
4
> FUNCTION main(): O(n), n = length of input string
- DO      Read user input and return problem output
- INPUT   s (input string): string
- OUTPUT  validness of INPUT: bool


Code