[理工] [資結] binary tree
(a.) (5%) Draw the binary tree whose inorder sequence is ABCDEFGHI and whose
postorder sequence is ACBGFIHED
(b.) (10%) Give all postorder sequences of the inorder sequence ABC
and their corresponding binary trees. (Hint: there are 5 sequences.)
a小題我會 就利用inorder and postorder畫出二元樹就好了
可是第二題就不知道在問什麼了
麻煩高手解答>"<
--
████ ████ ◢███ ◢███ ◢ ◢ ◣◢
█ █ █ █ ███◣ ◢◤◢ ◥◤
███◣ ███◣ ███◣ ███◣ █ █ ◢█▆◤
█ █ █ █ █ █ █ █ ◥███◣ ◢◤◣
███◤ ███◤ ◥██◤ ◥██◤ █ █ ◢█▆█◣
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.123.81.212
推
03/04 12:38, , 1F
03/04 12:38, 1F
→
03/04 12:38, , 2F
03/04 12:38, 2F
→
03/04 12:43, , 3F
03/04 12:43, 3F