Function compt::compute_num_nodes [] [src]

pub fn compute_num_nodes(height: usize) -> usize

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