Problem 3903 · Easy
Track inclusive suffix minima and prefix maxima to find the first index within the instability threshold.
Open the interactive visualisation