Leetcode 958. Check Completeness of a Binary Tree
Determine whether a binary tree is complete — i.e., every level except possibly the last is fully filled and nodes in the last level are as far left as possible. This is typically checked with a level-order traversal (or heap-like indexing) to ensure no non-null node appears after a null position.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Late April, 2025
Meta
Senior
Late March, 2025
Meta
Mid-level
Late January, 2025
Meta
Senior
Check if binary tree is complete (LeetCode 598)
Hello Interview Premium
Your account is free and you can post anonymously if you choose.