題組內容

四、請回答下列問題:

(二)有一二元樹的中序追蹤(inorder traversal)為(a +(b * c))+(((d * e)+f)* g), 其前序追蹤(preorder traversal)為 + + a * b c * + * d e f g,請畫出此 二元樹。