我想在不使用任何递归过程的情况下计算avl树中节点的平衡因子.我怎样才能做到这一点?请告诉我方法或提供C++代码片段.
c++ algorithm avl-tree data-structures
algorithm ×1
avl-tree ×1
c++ ×1
data-structures ×1