题目
题目
单项选择题

TTrave_2 Consider the post-order traversal of the following BST. Note that  visiting the node is actually printing the node. Which node is printed 5th?

选项
A.100
B.300
C.775
D.201
E.750
查看解析

查看解析

标准答案
Please login to view
思路分析
To analyze a post-order traversal, recall the rule: visit left subtree, then right subtree, then the node itself (root). Option by option, we consider where each value would appear in a standard BST post-order sequence, noting that the exact order depends on the specific shape of the BST in the diagram. - Option 100: If 100 were a leaf in the left subtree, it would typically be one of the earliest nodes visited in post-order, often printed before nodes higher up in the tree. It bein......Login to view full explanation

登录即可查看完整答案

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

更多留学生实用工具

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