Kindly tell if my thought process is correct

i will make s function is_seq(int arr, int a, int b)
which will check if the array elements from index a to b follow the rules for being a petential bitonic subarray (if yes return b-a+1), then inside the function i will pass all the possible a,b values to the function and store the return value of function that gives in a separe array and find the maximum in that array

hello @laksh.rustagi12

yeah its correct but not efficient