Given an integer array nums of length n, determine whether it can become non decreasing by modifying at most
An array nums is non decreasing if nums[i] nums[i + 1] holds for every index i such that i n
Constraints:
n nums.length
n
nums[i]
Given an integer array nums of length n, determine whether it can become non decreasing by modifying at most
An array nums is non decreasing if nums[i] nums[i + 1] holds for every index i such that i n
Constraints:
n nums.length
n
nums[i]