Bloomberg Interview Question

Explain how memory heaps are implemented