Apple interview question

Still technical questions.