typedef struct
{ int key;
int next;
} SLRecType;
SLRecType R[N+
typedef struct
{ int
} SLQueue;
SLQueue B[
int Radixsort(SLRecType R[]
{for (i=
R[n]
for (i=
while (p!=
{k=R[p]
if(B[k]
else R[B[k]
B[k]
p=R[p]
}
i=
while (B[i]
t=B[i]
while (i<
{i++;
if (B[i]
{ R[t]
R[t]
return p; //返回第一個記錄指針
}
[算法討論]若關鍵字含d位
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/23168.html