首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 这是一个java类,演示了AVL树的力学。

这是一个java类,演示了AVL树的力学。

  • 资源大小:21.18 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: java Academic binary avl Search-tree

资 源 简 介

An AVL tree is a self-balancing binary search tree, which is able to guarantee log(n)-time adding, finding and removing of elements. (AVL stands for the names of the tree"s inventors G.M. Adelson-Velskii and E.M. Landis.) This class is not meant to be used in applications but intends to explain the features of such a tree to e.g. students. Even though many examples of AVL trees exist in the Internet few of them succeed in highlighting its functionality and I hope that reading my clearly structured code makes the understanding easier. In addition to that, example operations can be run where the class prints all relevant information to the console. Additionally a graphical illustration of the tree can be printed (to the console).

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP