Check sorted array using recursion

here’s the link of my code: https://ide.codingblocks.com/s/212369
one of the three test cases is giving incorrect answer

@pooja_narula
hello Pooja,
image
use <= in place of <