Lyft Interview Question

Array manipulation, substrings, binary search.