作者TaiwanKimchi (淫蟲蟲)
看板Grad-ProbAsk
標題[問題] AVL Tree
時間Mon Apr 6 23:46:26 2009
Show the detail steps of inserting the following values into an AVL tree:
65, 35, 40, 70, 50, 80, 55, 60, 45, 43, 30
Solution :
50
/ \
40 65
/ \ / \
35 45 55 70
/ / \ \
30 43 60 80
請問這個圖的解答是否正確 ?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.18.32.143
1F:推 nd5287:沒錯 正解! 04/06 23:58
2F:→ TaiwanKimchi:謝謝 04/07 11:19