Is sorted problem using recursion ques - https://online.codingblocks.com/app/player/37688/content/76839/381/lecture

id - https://ide.codingblocks.com/s/211868
if i give input 4 1 3 7 2 5 then should return false.but it is giving true

@sudhanshu8917,
Corrected Code here

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.