Qualcomm Interview Question

what is a heap, explain how heaps are implemented