MCPcopy Create free account
hub / github.com/douchuan/algorithm / height

Method height

src/tree/binary/tree.rs:10–12  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

8
9impl<K, V> Tree<K, V> {
10 pub fn height(&self) -> usize {
11 height(self.root)
12 }
13
14 pub fn size(&self) -> usize {
15 self.size

Callers 1

tree_heightFunction · 0.80

Calls 1

heightFunction · 0.70

Tested by 1

tree_heightFunction · 0.64