C3 AI Interview Question

Return index of number "n" in a sorted array.