Maximum length Bitonic subarray

this code shows TLE for testcase 2

@naazsayma123 your code is perfect and works fine
try here https://hack.codingblocks.com/app/practice/2/1281/problem