Microsoft Interview Question

How would you implement malloc() & free() in C?