Examples
Input: root = [13,null,-55]
Output: [[13],[-55]]
Explanation: The root has two levels: the first level with the value 13, and the second level with the value -55.
Input: root = [1,2,3,4,5,6,7]
Output: [[1],[2,3],[4,5,6,7]]
Explanation: The tree has three levels: [1] at the first level, [2, 3] at the second level, and [4, 5, 6, 7] at the third level.
Input: root = [5,3,8,null,4,7,9]
Output: [[5],[3,8],[4,7,9]]
Explanation: The tree has three levels: [5] at the first level, [3, 8] at the second level, and [4, 7, 9] at the third level.