[理工] [algo] AVL Tree的insert
99交大資結演算
第5題組
12.What's the pre-order sequence after inserting"2,1,4,5" into an initially
empty AVL tree?
答案是2,1,4,5
13.What's the pre-order sequence after inserting"9,3,6,7" into the above
AVL tree?
答案是 4,2,1,3,6,5,9,7
向版上的高手請教這兩題的詳解,感謝m(__.__)m
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.81.162.237
→
03/20 19:47, , 1F
03/20 19:47, 1F
→
03/20 20:55, , 2F
03/20 20:55, 2F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):