MCPcopy Create free account
hub / github.com/TheAlgorithms/C / heapifyDown

Function heapifyDown

sorting/heap_sort_2.c:48–71  ·  view source on GitHub ↗

* @brief heapifyDown Adjusts new root to the correct position in the heap * This heapify procedure can be thought of as building a heap from * the top down by successively shifting downward to establish the * heap property. * @param arr array to be sorted * @param size size of array * @return void */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

heapSortFunction · 0.85

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected