GEICO Interview Question

Coding Exercise to find minimum and maximum value in sorted array