Function compt::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.