Aio pack runtimes

broken image
broken image
broken image

First is if the number doesn't exist in the array, Here's an example of this function being ran with the code above. The number at the halfway point (in the above example 10), else, we take the 2nd

broken image

We take the 1st half of the array if the number we're looking for is less than The number does exist, it'll find it by recusively calling itself and chopping the If the number doesn't exist, it'll print out that the number wasn't found, if Var binar圜hop = function ( findNum, array ) var secretNum = 3 var numbers = binar圜hop ( secretNum, numbers )