what we have to check increasing -decreasing sequence or decreasing-increasing sequence. beacuse in question it is different and in output format it is different
Increasing decreasing sequence
it is decreasing increasing
what we have to check increasing -decreasing sequence or decreasing-increasing sequence. beacuse in question it is different and in output format it is different
it is decreasing increasing