Pergunta de entrevista da empresa Apple

Dynamic programming and memory allocation