Amazon interview question

solve a programming issue in code on white board