Increasing decreasing sequence

I am not able to think about how to approach this also, I m not able to understand the question too.

@S19LPPP0009
Hello Shubham,
you need to check whether there exist an index i in your array or not for which given condition satisfies
a) from 1 to i your array element should be in decresing order
b) from i to n your array element should be in increasing order.

@S19LPPP0009
here is implementation for same