Heapify

Heapify[p]
builds a heap from permutation p.

更多信息更多信息