this is my code and it’s failed two test cases. please check where i made mistake please !!!
Binary Search In array element and print index problem
if the element is not present in the array you need to print -1, i have made some changes to your code for the same:
1 Like
thanks sir ,silly mistake!
please mark the doubt as resolved 