Finding minimum height of binary tree…code missing 1 minor edit to pass all test cases

后端 未结 0 976
攒了一身酷
攒了一身酷 2021-02-07 07:28

I\'m trying to find the minimum height of a tree. I modified my original algorithm for finding the max height of a tree (but this time, just using Math.min instead of Math.max).

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