# [3250\. Find the Count of Monotonic Pairs I](https://leetcode.com/problems/find-the-count-of-monotonic-pairs-i/) :::spoiler Hint ```cpp= ``` ::: :::spoiler Solution ```cpp= ``` - T: $O()$ - S: $O()$ :::