Consider a binary search tree where each insert operation takes O(log n) time and each search operation takes O(log n) time. What is the amortized cost per operation?
O(n log n)
O(n)
O(log n)
O(n^2)

Data Structures and Algorithms Exercises are loading ...