Pregunta de entrevista de Two Sigma

the second interview asks to implement a memory allocator the third two interviews is about algorithms