Can i get hints for this que with explanation because i don't get the que properley

https://online.codingblocks.com/player/7545/content/4801?s=1435

Hey Ankush, please mention the problem’s exact name here so that we can help you in understanding the problem as the problem’s link you have shared is not accessible,

Hey @ankush9818744825
Please mention the name of question also from next time.
like INCREASING DECREASING SEQUENCE

In this question you need to find whether a given sequence is valid or not. It would be considered valid if it is either strictly increasing, or strictly decreasing, or if it firsts increases and then decreases.
You can interpret this from the question easily if you read it properly alongwith the sample input and output.