Bloomberg interview question

Explain how memory heaps are implemented