Combinatorica`
Combinatorica`

Heapify

Heapify[p]

builds a heap from permutation p.

Details

See Also

HeapSort  RandomHeap

Tutorials