.()a^key:=@∥a的頭結點用作監視哨取不同於a鏈表中其它數據域的值
()b^key:=p^key∥b的頭結點起監視哨作用
()p:=p^next∥找到ab表中共同字母a表指針後移
()(m*n)
C 部分()p!=null∥鏈表未到尾就一直作
()q∥將當前結點作為頭結點後的第一元素結點插入
()L=L>next;∥暫存後繼
()q=L;∥待逆置結點
()L=p;∥頭指針仍為L
() p^next<>p ()r:= p^next () p^next:= q; () q:= p; () p:=r
()r ()NIL ()x<head^data ()p^data<x ()p:=p^next ()p^data>=x; ()r ()p ()r ()NIL ()NIL
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
From:http://tw.wingwit.com/Article/program/sjjg/201311/23366.html