LSI Interview Question

implement malloc without using any system call.