Problem 958 · Medium
Level-order BFS including null children; no real node may appear after the first null.
Open the interactive visualisation