Pergunta de entrevista da empresa Amazon

They asked me to make a memory allocator in C.