MCPcopy Create free account
hub / github.com/OpenGenus/quark / maxHeapify

Function maxHeapify

code/code/sorting/src/heap_sort/heap_sort.c:19–43  ·  view source on GitHub ↗

The main function to heapify a Max Heap. The function assumes that everything under given root (element at index idx) is already heapified

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

createAndBuildHeapFunction · 0.85
heapSortFunction · 0.85

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected