卷別
資料結構與演算法
選擇國立臺灣大學 2025 · 考試 · 第 10 題
考科資料結構
(5 points) Select all the correct statement(s) from the following statements regarding binary trees and binary search trees.
- (A)Every binary tree is a binary search tree.
- (B)Every binary search tree on nodes has height .
- (C)In a binary search tree, we can find the next smallest element to a given element in time.
- (D)Let , and be three sorted arrays of distinct real numbers. Constructing a balanced binary search tree of the set requires time.
- (E)Let be a complete binary tree with nodes. Finding a path from the root of to a given vertex using breadth-first search takes time.