MyTutor interview question

How would you teach this question?