0
Can someone implement Binary Search in Python?
I have a test about it tomorrow and tried it for hours today, but wasn't successful...
8 Respostas
+ 2
You can take a look at the code section there are a lot of examples.
+ 2
Simon Sauter aaah thank you, I've been there already and forgot that this could be a good option to search there. Thanks!
+ 2
I've added a simple implementation of my own.
https://code.sololearn.com/cV4bhNxboSee/?ref=app
+ 1
Here on sololearn where people post their codes. In the app it's in the middle at the bottom. Use the search option and filter for python codes.
0
The thing is we havent learnt recursion yet and we should solve it without using functions too...
0
Simon Sauter ...
0
which code section do you mean?