标签: data-structures perl-data-structures recursive-datastructures chdatastructures
如何为这个问题画一棵树?
以正确的顺序列出键(1, 2, 3, 4, 5, 10, 9, 8, 7, 6),以便按该顺序插入键
(1, 2, 3, 4, 5, 10, 9, 8, 7, 6)
a)a BST with max possible height b)a BST with min possible height
a BST with max possible height
a BST with min possible height
显示每种情况下的结果树。