VisAI Labs interview question

Storing the array in a heap memory