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

Function is_balanced

src/data_structures/avl_tree.rs:329–332  ·  view source on GitHub ↗

Returns `true` if all nodes in the tree are balanced.

(tree: &AVLTree<T>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

balance_factorMethod · 0.80
node_iterMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected