Problem 3285 · Easy

Find Indices of Stable Mountains

A mountain at index i is stable when the mountain just before it is taller than the threshold.

Open the interactive visualisation