All Stories published by Coding Memo on March 13, 2022
01
03
04
06
08
09
10
12
14
18
19
25
26
27

[Leetcode] Maximum Product Subarray

Advanced version of Maximum Subarray. As multiplying a negative switches max/min, instead of keeping the localMax, both max & min should be kept for possible inference.

Description
About
Coding Memo
leetcode solutions and programming notes
More information
Tags
Editors