[讨论]微软考题:draw a binary tree, a balanced binary tree
Binary tree can be used for storing and searching data. Please draw a binary tree, constructed by entering the following numbers in sequence:
8, 3, 10, 50, 9, 20, 1, -5, 2, 70, 35, 45, -10, 49, 0
Please draw a balanced binary tree using the same set of numbers as above.
[此贴子已经被作者于2007-9-17 9:30:15编辑过]