NVIDIA Interview Question

Implement Malloc and Free using a global array