Find the longest non-decreasing contiguous run in a list — and then the longest one you can get if you may change a single number to anything.
Find the longest non-decreasing contiguous run in a list — and then the longest one you can get if you may change a single number to anything.
The discussion opens with the full question.