Leetcode 1522. Diameter of N-Ary Tree | Hello Interview