LinkedList LinkListInsertSort(LinkedList la)∥la是帶頭結點的單鏈表
{if(la
{p=la
la
while(p!=null)
{r=p
q=la;
while(q
p
q
p=r;
}
與本題有類似敘述的題的解答
(
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/23349.html
LinkedList LinkListInsertSort(LinkedList la)∥la是帶頭結點的單鏈表
{if(la
{p=la
la
while(p!=null)
{r=p
q=la;
while(q
p
q
p=r;
}
與本題有類似敘述的題的解答
(
[