Question d’entretien chez AppFolio

Pair programming problem, find one local minimum in an array, which I and the interviewer worked together.