Nordstrom Interview Question

Given an ordered list, define a function to determine whether a number is within the list