Heapify

Heapify[p]
builds a heap from permutation .

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »