Apple interview question

Objective-C