Max length Biotonic Subarray


why i am getting tle

Hey @poojadas408
You were getting Segmentation because ur array was small

how can we avoid segmentation

I mentioned the changes in comments

Also,
You get Segmentation when u run out of memory or try to access invalid memory

hey @poojadas408
how can i help you?