What is the time complexity of the code that uses self balancing BST for determining the number of inversions in an array?
(c) O(log n)
(d) O(n log n)
I'd like to ask this question from Arrays Types topic in division Arrays Types of Data Structures & Algorithms I
This question was addressed to me in examination.