Find in Mountain Array
Binary search for the peak, then search the ascending and descending halves, returning the smallest matching index.
Binary search for the peak, then search the ascending and descending halves, returning the smallest matching index.