[][src]Function compt::compute_height

pub fn compute_height(num_nodes: usize) -> usize

Computes the height for the number of nodes given. Returns the number of trailing zeroes after the last bit in the binary representation. For complete binary trees this would be the height.