How to check if a sequence of numbers is monotonically increasing (or decreasing)? June 6, 2023 by Tarik