Code for diameter of generic tree not working when required to find out diameter of binary tree

后端 未结 0 1218
后悔当初
后悔当初 2020-12-15 14:57

Few days ago I was learning about generic trees , and I came across a code for the diameter of a generic tree as follows :

 static int diameter = Integer.MIN_         


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