Varsity Tutors interview question

How would you help this student solve this question