Amazon Robotics interview question

Questions involved binary searching optimization on a monotonic array.