Search
⌘K

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.

Late April, 2025

Meta

Senior

Late March, 2025

Meta

Mid-level

Mid March, 2025

Meta

Mid-level

Comments

Your account is free and you can post anonymously if you choose.