Pergunta de entrevista da empresa Apple

object oriented programming coding question