5 ms·Yeah, I was surprised the example input didn't have a sequence of 3 monotonic points to reveal this.by blt 3y agoYeah, I was surprised the example input didn't have a sequence of 3 monotonic points to reveal this.