题目
题目

2025W Quiz 3

单项选择题

Consider the following tree: 14 / \  2 11 / \ / \ 1 3 10 30 / / 7 40 What is the order of nodes visited using a post-order traversal?

查看解析

查看解析

标准答案
Please login to view
思路分析
First, I restate the problem to ensure we’re aligned: we have a binary tree with root 14, left child 2, right child 11; the left subtree 2 has children 1 and 3; the right subtree 11 has left child 10 and right subtree 30, which itself has left child 7 and right child 40. The question asks for the post-order traversal, which visits left subtree, then right subtree, and finally the node itself. Starting with the left subtree of the root (rooted at 2): - Visit left subtree of 2, which is node 1. Since 1 h......Login to view full explanation

登录即可查看完整答案

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

更多留学生实用工具

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