Hi everybody, we've got another two challenges this week, so let's dive into them!
Remove One
The goal is to see if there's any one num...
For further actions, you may consider blocking this person and/or reporting abuse
Your task 1 solution produces the correct results when there are 1 or more removals needed to produce a strictly increasing sequence, but it produces an incorrect result (true) when there are NO removals needed (because if the sequence is already strictly increasing, removing any one of the values will still leave the sequence strictly increasing).
I can see that interpretation, however technically it exactly meets the specifications of the challenge. The challenge is whether it's possible to get an increasing list of integers with no more than one removal, not whether a removal is actually needed.
I guess I see that interpretation.