How would you get a list of height unbalanced leaf nodes in a binary search tree?

后端 未结 0 1956
悲&欢浪女
悲&欢浪女 2020-12-04 10:30

To know whether a tree is height balanced or not we simply compare the height of left and right sub trees.

However, how do I create a program that will tell me how ma

相关标签:
回答
  • 消灭零回复
提交回复
热议问题