I\'m curious if you guys know an answer to this question that came to my mind.
We know that an average cost of BST insertion is O(log n)
O(log n)