Click or drag to resize
HeapSort Method
Rearranges the array in ascending order, using the natural order.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void Sort(
	IComparable[] pq
)

Parameters

pq
Type: SystemIComparable
pq the array to be sorted
See Also