compute_num_nodes

Function compute_num_nodes 

Source
pub fn compute_num_nodes(height: usize) -> usize
Expand description

Compute the number of nodes in a complete binary tree based on a height.