MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / balance_factor

Method balance_factor

src/data_structures/avl_tree.rs:210–217  ·  view source on GitHub ↗

Returns the height difference between the left and right subtrees.

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

rebalanceMethod · 0.80
is_balancedFunction · 0.80

Calls 1

heightMethod · 0.45

Tested by

no test coverage detected