the weakness of Binary Search Tree

neige 2002-08-06 01:40:33
what is the weakness of BST when we do insertion? thank you
...全文
61 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Reve 2002-08-07
  • 打赏
  • 举报
回复
If you insert an item into BST, you have to resort the BST to make if a true BST. While in the List or Array, you just insert the item without resort.
The advantage of BST is you can find your item fast, when it holds a flood of datas.

62,615

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧