What is the complexity of building a balanced binary tree of size n from scratch?
Node insertion is O(log n).
However, as you go along, the cumulative time is
O( (log 1) + (log 2) + ... + (log (n-1)) + (log n) ).
What does this "add up" to?
It is o(n log(n)), small 'o', i don't know how far small.