手机扫码访问

导航
您当前的位置:首页 > 高教类 > 工学类
问题:

[单选题]If in the pre-order traversal the access to the root node is followed by accessing the right subtree first and then the left subtree, then the stacking order of the left and right subtrees is:若在先序遍历中规定访问完根节点后先访问右子树再访问左子树,则左、右子树的入栈顺序是:Bgw答案窝(daanwo.com)-大学作业答案分享平台
ALeft first and then right先左后右Bgw答案窝(daanwo.com)-大学作业答案分享平台
BRight first and then left先右后左Bgw答案窝(daanwo.com)-大学作业答案分享平台
CIn stack simultaneously同时入栈Bgw答案窝(daanwo.com)-大学作业答案分享平台
DOnly the left subtree is stacked, and the right subtree is not stacked只有左子入栈,右子不入栈
答案解析:

相关问题
关于我们 | 用户指南 | 版权声明 | 给我留言 | 联系我们 | 积分商城 | 答案求助 | 网站地图
Copyright © 2020 www.daanwo.com All Rights Reserved