108 年 108年公務人員高等考試三級考試暨普通考試・資料結構 申論 2給予如下二元樹節點的宣告,寫一C 的遞迴程式swapTree(NODEPTRtree)將每一節點的左、右節點互換(Swap the left and right children ofevery node of a binary tree)。(25 分)struct node{int info;struct node *left;struct node *right;}typedef struct node *NODEPTR;void swapTree(NODEPTR tree){} 看答案與解析