Table of Contents

About

The heap is a chunk of memory where the variables or functions are stored during run time.

A garbage collector manages the heap if present in the language features.

Data structure

The heap has a data structure called the heap. See the dedicated page: Tree - Heap Data Structure