Return the level order traversal of a binary tree — node values level by level, left to right.
Input: one line — the tree in level order (with nulls). Output: one line per level, values space-separated (nothing for an empty tree).
3 9 20 null null 15 7
3 9 20 15 7
1
1
Run your code against the sample tests, or Submit to run the full suite.