Count Complete Tree Nodes

Question Description

Given a complete binary tree, count the number of nodes.

Solution