Cloze

Running best and worstMedium

Maximum Product Subarray

Find the largest product of any run of one or more neighbouring numbers in nums.

Aim for O(n) time, O(1) spaceInspired by a classic interview problem ↗