Problem 3818 · Medium

Minimum Prefix Removal to Make Array Strictly Increasing

Drop the shortest prefix so that the remaining suffix is strictly increasing, scanning backward from the end.

Open the interactive visualisation