LeetCode 117. Populating Next Right Pointers in Each Node II

Nothing special. Level-Order Traversal.

Same answer as to this one: Level Order Traversal to link to the next level node.

你可能感兴趣的:(LeetCode 117. Populating Next Right Pointers in Each Node II)