更多“给定如第一题所示的一棵树,其后序遍历为__________(为便于系统批改,元素之间不要有空格)”相关的问题
第1题
已知一棵树的前序遍历为ABDEGCF,中序遍历为DBGEACF,求这棵树的后序遍历。(字母和字母之间不要有空格) The preorder sequence of a tree is ABDEGCF, and its infix order sequence is DBGEACF, please write down its post order sequence. (There is no blank space between letters)
点击查看答案
第2题
已知一棵树的前序遍历为ABDEGCF,中序遍历为DBGEACF,求这棵树的后序遍历。(字母和字母之间不要有空格) The preorder sequence of a tree is ABDEGCF, and its infix order sequence is DBGEACF, please write down its post order sequence. (There is no blank space between letters)
点击查看答案
第3题
已知一棵树的中序遍历为DBGEACF,后序遍历为DGEBFCA,求这棵树的前序遍历。(字母和字母之间不要有空格) The infix order sequence of a tree is DBGEACF, and its post order sequence is DGEBFCA, please write down its preorder sequence. (There is no blank space between letters)
点击查看答案
第4题
一棵二叉树的前序遍历序列是ABDFECGHK,中序遍历序列是DBEFAGHCK,则它的后序遍历序列是 _________. (填写半角大写字母且不要添加空格,格式如ABCDEFG).
点击查看答案
第5题
已知一颗二叉树其中序和后序遍历为: 中序:BDCEAFHG, 后序:DECBHGFA 请给出先序遍历结果:() 注意:答案要求全部大写,输出的先序遍历结果的各个符号之间没有空格。
点击查看答案