Problem 958 · Medium

Check Completeness of a Binary Tree

Level-order BFS including null children; no real node may appear after the first null.

Open the interactive visualisation