Binary search.

Hi everyone,

I have been doing some reviewing and I noticed that the binary search is usually taught with recursion, but why? would it be better to take an iterative approach instead of a recursive approach for the large overhead of recursion?
Topic archived. No new replies allowed.