Domanda di colloquio di AppFolio

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