Vidyalelo
Data Structure · Q95

Arrays in Data Structures

Programming · Data Structure · question 95

Q95

What is the time complexity of the code that uses self balancing BST for determining the number of inversions in an array?

A.
O(n2)
B.
O(n)
C.
O(log n)
D.
O(n log n)
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board