Microsoft interview question

Implementation of Malloc and Free