Pergunta de entrevista da empresa Microsoft

Implement malloc() and free() to solve heap fragmentation problem, while malloc() should be very fast and free() could be slower.