3251. Find the Count of Monotonic Pairs II - Hard | DSA Corner | Talentd