Apple interview question

Basically, no advanced algorithms questions.