Quick Methods |
The Quick type exposes the following members.
Name | Description | |
---|---|---|
MainTest |
Reads in a sequence of strings from standard input; quicksorts them;
and prints them to standard output in ascending order.
Shuffles the array and then prints the strings again to
standard output, but this time, using the select method. | |
Select |
Rearranges the array so that a[k] contains the kth smallest key;
a[0] through a[k-1] are OrderHelper.Less than (or equal to) a[k]; and
a[k+1] through a[N-1] are greater than (or equal to) a[k]. | |
Sort |
Rearranges the array in ascending order, using the natural order. |