sir in this question i made solution which is working but no cases got accepted while submission
sir plz check the code
Maximum lentgh butionic
@tejasddongare bro its a dp question can be solved by building prefix and suffix array
here refer this
(https://www.geeksforgeeks.org/maximum-length-bitonic-subarray/)
dont forget to hit like and mark resolved if cleared otherwise ask 