Let's explore how we can transform the binary search in Listing 15.8 into a single
lookup. We want an array that, given a name, returns its position in the
Listing 15.8 A Binary Search
Let's explore how we can transform the binary search in Listing 15.8 into a single
lookup. We want an array that, given a name, returns its position in the
Listing 15.8 A Binary Search