Find the Count of Monotonic Pairs I

hardSolve on LeetCodeLast edited: August 2, 2025