Diameter of Binary Tree

Diameter of Binary Tree

Medium DSA Trees 35 views
Explanation Complexity

Problem Statement

Find the diameter (longest path) of a binary tree.
No official solution available.
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.