Broadridge Interview Question

searching an element in a rotated sorted array