Apple interview question

nothing so difficult