325 views
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 ???

 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
Sankalp Sharma asked Dec 20, 2018
161 views
Number of comparisons required in query1 and query2?
1 votes
1 votes
0 answers
2
Nils asked Nov 13, 2017
165 views