第七題:
出題時間:2006.05.24
題目: 基數排序法 (MSD)
Please write a JAVA program to implement radix sort (MSD) based on
insertion sort.
Input : n integers.
Method : the insertion sort-based radix sort (MSD)
Output : the series of the n integers with non-descending order.
Note : you will need
1. an int [n] to store the n integers.
2. an int [10][n] to implement the 10 groups.
3. an int [10] to indicate the number of integers in each group.
4. implementing the method insertion sort ( arrary, start, end )
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.228.152.234