题目
题目
单项选择题

Question at position 19 Given a binary tree of height 3 with 5 nodes and the preorder traversal ABCDE Which nodes must be the rootCABDE

选项
A.C
B.A
C.B
D.D
E.E
查看解析

查看解析

标准答案
Please login to view
思路分析
Begin by restating the information we have: the tree is binary, height 3, contains 5 nodes, and the preorder traversal is ABCDE. In a preorder traversal, the first element visited is the root of the tree. Therefore, the root must be the firs......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!