作者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