Given a nums, return true if it can be made strictly increasing after removing exactly one element, or false otherwise. If the array is already strictly increasing, removing any single element will also result in a strictly increasing array.
Note: An array
arris strictly increasing ifarr[i - 1] < arr[i]holds for every indexsuch that arr.length.
Constraints:
nums.length
nums[i]
Given a nums, return true if it can be made strictly increasing after removing exactly one element, or false otherwise. If the array is already strictly increasing, removing any single element will also result in a strictly increasing array.
Note: An array
arris strictly increasing ifarr[i - 1] < arr[i]holds for every indexsuch that arr.length.
Constraints:
nums.length
nums[i]