Increasing decreasing sequence

3 test cases are failing

@deepalisaini1708db
Maybe you didn’t understand the question properly
You’re only checking for increasing sequence
Please see this once https://www.geeksforgeeks.org/split-the-array-elements-into-strictly-increasing-and-decreasing-sequence/

1 Like