題組內容

二、一個二元樹(binary tree)的中序尋訪序列(inorder traversal)為 DEBGFHAIJCK, 而其前序尋訪序列(preorder traversal)為 ABDEFGHCIJK。

⑴請繪出此二元樹。 (10 分)