self-balanced binary tree: insertion order
Does anyone happen to know off-hand: What is order ("Big-O") of the insertion algorithm on a self-balanced binary tree? I know that the search order is O(log(n)). But I am wondering how badly the insert operation is effected by the balancing operation.
|