Apple interview question

Role-play