MaxPQKey Constructor (Key) |
Initializes a priority queue from the array of keys.
Takes time proportional to the number of keys, using sink-based heap construction.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public MaxPQ(
Key[] keys
)
Parameters
- keys
- Type: Key
keys the array of keys
See Also