@aryanv hey aryan 1 is also a biotonic subarray your code is giving output as 0 handle this case.
so arrays of size 1 will also be biotonic?
@aryanv yeah array of size 1 is also biotonic.