NetApp Interview Question

implement malloc