Binary Tree diameter


Please help me in resolving the doubt.

@Gade_Deepthi its fine just give the input
8 10 1 -1 -1 6 9 -1 -1 7 -1 -1 3 -1 14 13 -1 -1 -1
dont forget to hit like and mark resolved if cleared :smiley: