1522: Diameter of N-Ary Tree

Problem Statement