Combinatorica`
Combinatorica`
RandomHeap
RandomHeap[n]
constructs a random heap on elements.
Details and Options
- To use RandomHeap, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
RandomHeap[n]
constructs a random heap on elements.