二元樹,中序等於後序都是ABCDEF

2010-01-06 8:18 am
中序等於後序都是ABCDEF

請問這種二元樹要怎麼畫?

謝謝!!

回答 (2)

2010-01-06 10:50 pm
✔ 最佳答案
依據建議上的回答
是這樣的
            F
           /
          E
         /
        D
       /
      C
     /
    B
   /
  A
參考: 意見上的
2010-01-06 2:49 pm
Tree is:
A-B-C-D-E-F

F is the root. A is the left most node. All nodes have only the left child.


收錄日期: 2021-04-30 12:53:28
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20100106000015KK00169

檢視 Wayback Machine 備份