/Radix-Sorting

Radix sorting entails grouping number elements in a data structure by each digit.

Primary LanguageJava

Radix-Sorting

Purpose: Radix sorting entails grouping number elements in a data structure by each digit

Input: Array; size of array; number of elements in the array, elements added in the array, the base used for sorting.

Processing: Given the size of array, adding elements into array by using push function. Determine the number of digits that suffice to represent the largest value being sorted and use different bases to radix sorting the array.

Output: Sorted array with each step of sorting showed.