Combinatorica`
Combinatorica`

RandomHeap

RandomHeap[n]

constructs a random heap on n elements.

Details and Options