作者jimmy5566 (jimmy)
看板Grad-ProbAsk
標題[理工] [資結] AVL tree
時間Fri Feb 11 20:34:19 2011
Given the sequence (Y,U,N.T,E,C,H) to construct AVL tree.
Which of the following statement is incorrect?
(A)N is thc root. (B)E has two children C and H,(C)H is a leaf.
(D)Y is a leaf,(E) C is an internal node
他題目沒有說英文字母的先後順序,請問這樣要怎麼建AVL tree?
感謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.143.25.117
推 st84514:一般來說都是照字母順序ABCDE...這樣答案應該是E 02/11 20:52
→ jimmy5566:恩恩~謝Y 02/11 21:07