← All problems
Medium · 1-D Dynamic Programming
Maximum Product Subarray
Find the maximum product of a nonempty contiguous segment.
Full problem and submission ↗Find the maximum product of a nonempty contiguous segment.
Full problem and submission ↗