Insertions and deletions work the same way, only steps should be taken to keep the tree in balance, such as using an AVL tree.

  • 插入以及删除操作将按照同样的方式进行,但是一些额外的保持树平衡的操作还是必须的,例如使用AVL树作为底层数据结构的时候。
目录 查词历史