题目链接:https://leetcode-cn.com/problems/non-decreasing-array/ 问题分解,第一个不满足条件的关系将整个数组分成前后两个部分。 改变一个元素会影响和前后的关系。