Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.


Binary Search Implementations

In the previous videos we introduced two versions of binary search, an iterative and a recursive version. Code snippets for the iterative versions are provided below and match the explanation provided in the videos.

You will find the recursive version to be slightly different however. If you remember, when starting the recursive version of binary search I made one modification to the algorit...