資料結構›Ch5 樹狀結構第 37 題/共 48 題
37. Binary Tree、Traversal 重建、Level-order
#DS-05-037易Binary TreeTraversal 重建Level-order
題組題幹(本題:(a),共 2 小題)點擊展開
Given a binary tree with the following postfix and infix patterns.
postfix: Z, P, C, L, Y, K, S, W, R, Q
infix: Z, Y, P, L, C, Q, K, R, W, S
[2%] What is the result of level-order traversal for the tree?
📄 成大113
▤完整推導請見《WH 資工筆記 · 資料結構》Ch5 樹狀結構