Trying to understand this binary search

.
Last edited on
> here is one of them that I am trying to understand and I hope some expert has
> something to say about this. ^^
¿what do you have to say about it?
comment the code with your thoughts.

The code is horrendous.


> why do we return high from the binary search function ?
¿instead of what?
¿do you realize what's being searched there?
I wouldn't be asking if I knew :c

Also, I commented the code a bit.
Last edited on
Topic archived. No new replies allowed.