Rosetta Problems

Make Array Non-decreasing or Non-increasing

https://leetcode.com/problems/make-array-non-decreasing-or-non-increasing