896. Monotonic Array
Channel: bab lobko
Date: 29/09/2023

Developing the logic to check the Monotonicity of the Array. A monotonic array is an array which is either increasing or decreasing but not both at the same time. It should either be increasing or decreasing. And it can be equal as well.