← MakeMyTrip questions

Make array strictly increasing by reducing elements

Filed under MakeMyTrip

Given an array of non-negative integers, for each element A[i], you can replace it with any value in [0, A[i]]. Determine if it is possible to make the array strictly increasing.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MakeMyTrip questions

Collected from public candidate posts and coding forums. Updated Nov 2026.