Maximum length biotonic subarray

i am not getting the clearity of question

Hey @aryanraj
Bitonic subarray means a subarray which is initially increasing and after a point, it starts decreasing. You need to find the length of the maximum bitonic subarray in the array. A subarray is always a set of elements of an array which is continuous.
2
6
12 4 78 90 45 23
4
40 30 20 10
In the above example,
In the first test case, 4 78 90 45 23 is the maximum bitonic subarray, Here it is increasing till 4 78 90 and then decreasing from 90 45 23.
In the second test case,
The increasing part is 1 length long i.e. till 40 only, and 40 is the place from where it starts decreasing, till 10. So the maximum length of bitonic subarray is 4 viz 40 30 20 10

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.