give nary tree find maximum depththe maximum depth number nod long path root node farth leaf nodenarytree input serialization represent level order traversal group child separate null value see example example 1input root 1null324null56output 3example 2input root 1null2345nullnull67null8null910nullnull11null12null13nullnull14output 5 ConstraintsThe total number node range 0 104the depth nary tree equal 1000