Visa Inc. Interview Question

Binary search and sorted algorithm