In an AVL tree, it is impossible to have this situation that the balance factors of a node and both

In an AVL tree, it is impossible to have this situation that the balance factors of a node and both of its children are all +1.
错的
我sjc大佬所说的
在这里插入图片描述

左边 高是3 右边是2 还是平衡的

猜你喜欢

转载自blog.csdn.net/jonathan_joestar/article/details/112371825