Leetcode 896: Monotonic Array
An array is called monotonic if the index of each element increases from the first to the last or decreases from the first to the last.
Leetcode 896: Monotonic Array
An array is called monotonic if the index of each element increases from the first to the last or decreases from the first to the last.
Leetcode 896: Monotonic Array