Apple interview question

Related to performance architecture