Compares iterative vs b-tree approaches to finding a number in a given array