0429. N-ary Tree Level Order Traversal
https://leetcode.com/problems/n-ary-tree-level-order-traversal
Description
Given an n-ary tree, return the level order traversal of its nodes' values.
Nary-Tree input serialization is represented in their level order traversal, each group of children is separated by the null value (See examples).
Example 1:
Example 2:
Constraints:
The height of the n-ary tree is less than or equal to
1000
The total number of nodes is between
[0, 104]
ac
Last updated