Sorted array problem


my code is not passing all test cases
please correct it

@Megha2468
hello megha,
image
use <= in place of <