+ 1
Binary search program doesn't give output
This program I made to try the binary search algorithm but gives no output. I tried to print values of mid,they are correct though. https://code.sololearn.com/chRQvLUPiUrG/?ref=app
2 Réponses
+ 1
the function wont return anything after the first recursion.
take a return value from line 19 and 21
+ 1
Taste success