Heap Tree Data StructureA heap tree (implemented in dynamic array) written in C!It can be switched between min heap and max heap by modifying the header fileFor Max heap:#define HEAP_TYPE MAX_HEAPFor Min heap:#define HEAP_TYPE MIN_HEAP