-->
当前位置:首页 > 题库

单选题:The space complexity of recursively traversing a binary tree wit

Luz5年前 (2021-05-10)题库1185
The space complexity of recursively traversing a binary tree with $$N$$ nodes and height $$H$$ in preorder is __. @[B](3)

A. $$O(\log N)$$
B. $$O(H)$$
C. $$O(N)$$
D. $$O(H+N)$$




A.$$O(\log N)$$
B.$$O(H)$$
C.$$O(N)$$
D.$$O(H+N)$$


答案:B