[LeetCode] 958. Check Completeness of a Binary Tree
2019-01-14
阅读 1 分钟
2.2kDefinition of a complete binary tree from Wikipedia:In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible. It can have between 1 and 2^h nodes inclusive at the last level h.