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.