TYPE tree=^node;
node=RECORD
key: keytype;
size:int;
lchild
END;
一個結點x^的size域的值是以該結點為根的子樹中結點的總數(包括x^本身)
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/22901.html
TYPE tree=^node;
node=RECORD
key: keytype;
size:int;
lchild
END;
一個結點x^的size域的值是以該結點為根的子樹中結點的總數(包括x^本身)
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/22901.html