LSD Class |
Namespace: Algs4Net
public class LSD
The LSD type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | MainTest |
Reads in a sequence of fixed-length strings from standard input;
LSD radix sorts them;
and prints them to standard output in ascending order. |
![]() ![]() | Sort(Int32) |
Rearranges the array of 32-bit integers in ascending order.
This is about 2-3x faster than Array.Sort(). |
![]() ![]() | Sort(String, Int32) |
Rearranges the array of W-character strings in ascending order. |
For additional documentation, see Section 5.1 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
This class is a C# port from the original Java class LSD implementation by the respective authors.