not abl to understand the problem
Difficulty in nderstanding
@professor in this problem you have to check that given array is first decreasing and then increasing or not. Also not that increasing or decreasing part can be empty as well.
Examples:
- A={1,2,3,4} here decreasing part is empty ans increasing part is {1,2,3}.
- A={4,1,2,6} here 4,1 is decreasing and then 2,6 is increasing.
- A={1,3,2,4} here 1,3 is increasing but at 2 it decreases! so array is not of required form!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.