My doubt is not specifically for binary search .
I am using recursion to solve it but on line 13 and 15 , even if I dont write ‘return’ ( See the commented portion of the code ) , it is giving the correct output . Plz let me know the difference between writing return statement and not writing return statement on recursive calls .
Also , it would be grateful if you could dry run the recursive calls (without ’ return’ with recursive call on lines 13 and 15 ) .
here is the link :