Question d’entretien chez Amazon

Design a memory management unit which continuously allocates memory and deallocates memory, but the allocation must provide best memory.