Merge Class |
Namespace: Algs4Net
public class Merge
The Merge type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | IndexSort |
Returns a permutation that gives the elements in the array in ascending order. |
![]() ![]() | MainTest |
Reads in a sequence of strings from standard input; mergesorts them;
and prints them to standard output in ascending order. |
![]() ![]() | Sort |
Rearranges the array in ascending order, using the natural order. |
This class is a C# port from the original Java class Merge implementation by Robert Sedgewick and Kevin Wayne.