Combinatorica`
Combinatorica`

Heapify

Heapify[p]

builds a heap from permutation p.

更多信息和选项