Traversing a binary tree in preorder is equivalent to(68).

admin2013-02-02  32

问题 Traversing a binary tree in preorder is equivalent to(68).

选项 A、Traversing the forest corresponding to the binary tree in root-first order
B、Traversing the forest corresponding to the binary tree in root-last order
C、Traversing the forest corresponding to the binary tree in breadth-first order
D、None of the above

答案A

解析 前序遍历一个二叉树等价于按从树的根部、右子树、右子树查找顺序查找树。
转载请注明原文地址:https://kaotiyun.com/show/QhVZ777K
0

随机试题
最新回复(0)