Intel Corporation Interview Question

Given an array of N bytes, how would you implement an malloc/free? How would you make it more efficient?