題組內容

四、有一二元樹 T1 如下:

⑶ 今有一二元樹 T2 含 7 個 nodes {a,b,c,d,e,f,g},其前序追蹤順序為 b a c e f g d,中 序追蹤順序為 a b f e g c d。請畫出 T2。(8 分)