pub fn compute_num_nodes(height: usize) -> usize
Compute the number of nodes in a complete binary tree based on a height.