Pergunta de entrevista da empresa Apple

Classic cantilever bean problem like usual