摘要
创建平衡二叉排序树可采用不少种方法。对于教材中采用的旋转法,在实际教学中常常引起初学者的疑惑。为了解决这个问题,该文提出了一种更为简单的平衡二叉排序树方法,与教材中的旋转法相比,本算法简单易被理解,有较大的推广和应用价值。
There are many methods for balanced binary tree sorting. For the teaching materials used in the rotation method, in practical teaching often caused confusion for beginners. In order to solve this problem, this paper proposes a more simple balanced binary sort tree method. Compared with the rotation method in the textbook, this algorithm is simple and easy to understand, and has great promotion and application value.
引文
[1]严蔚敏,李冬梅,吴伟民.数据结构(C语言版第2版)[M].北京:人民邮电出版社,2014.
[2]张标汉.平衡二叉树调整教学探讨[J].教育与教学研究,2009.
[3]张冰川.平衡二叉排序树的平衡调整简单算法[J].科技广场,2007.