Apple interview question

More on technical questions.