1522. Diameter of N-Ary Tree
Previous1521. Find a Value of a Mysterious Function Closest to TargetNext1523. Count Odd Numbers in an Interval Range
Last updated
Last updated
**Input:** root = [1,null,3,2,4,null,5,6]
**Output:** 3
**Explanation:** Diameter is shown in red color.**Input:** root = [1,null,2,null,3,4,null,5,null,6]
**Output:** 4**Input:** root = [1,null,2,3,4,5,null,null,6,7,null,8,null,9,10,null,null,11,null,12,null,13,null,null,14]
**Output:** 7