基数排序

一、桶排序

void Bucket_Sort(ElementType A[], int N)
{
    count[]初始化;
    while(读入1个学生成绩grade)
        将该生插入count[grade]链表;
    for(i=0;i<M;i++) {
        if(count[i])
            输出整个count[i]链表;
    }
}
伪代码
无欲速,无见小利。欲速,则不达;见小利,则大事不成。
原文地址:https://www.cnblogs.com/ch122633/p/9025641.html