0 votes 0 votes I have a doubt in it..In the question they already send the parameter a = 0 , b = (n-1) , int x --> the elements that have to be find but if(a<b) // holds true so it return -1 right ??? Magma asked Nov 15, 2018 Magma 325 views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Show 5 previous comments Magma commented Nov 15, 2018 reply Follow Share yeah correct @goxul 0 votes 0 votes Somoshree Datta 5 commented Nov 15, 2018 reply Follow Share Its a typo..B would be correct only when a>b. 0 votes 0 votes srestha commented Nov 15, 2018 reply Follow Share yes, ACE test has many typos and that makes confusion :( 0 votes 0 votes Please log in or register to add a comment.