Problem 3364 · Easy

Minimum Positive Sum Subarray

Among windows whose length lies between l and r, find the smallest sum that is still positive.

Open the interactive visualisation