Please enable JavaScript.
Coggle requires JavaScript to display documents.
Balanced Search Trees - Coggle Diagram
Balanced Search Trees
It is a binary tree whose nodes contain elements of a set of orderable items, one element per node, so that all elements in the left subtree are smaller than the element in the subtree’s root, and all the elements in the right subtree are greater than it.
We gain in the time efficiency of searching, insertion, and deletion, which are all in (log n), but only in the average case. In the worst case, these operations are in (n) because the tree can degenerate into a severely unbalanced one with its height equal to n − 1.
-
-