Depth returns the calculated depth of the AVL tree
()
| 124 | |
| 125 | // Depth returns the calculated depth of the AVL tree |
| 126 | func (avl *AVL[T]) Depth() int { |
| 127 | return calculateDepth[T](avl.Root, avl._NIL, 0) |
| 128 | } |
| 129 | |
| 130 | // Max returns the Max value of the tree |
| 131 | func (avl *AVL[T]) Max() (T, bool) { |
nothing calls this directly
no outgoing calls
no test coverage detected