題組內容

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

⑵列出此二元樹之後序尋訪序列(postorder traversal)。(5 分)

詳解 (共 1 筆)

詳解 提供者:我要成功
postorder traversal: EDGHFBJIKCA