Computer Sciences > Gate 2020 > AVL Tree
What is the worst case time complexity of inserting n2 elements into an AVL-tree with n elements initially ?
A
Θ(n4)
B
Θ(n2)
C
Θ(n2log(n))
D
Θ(n3)

Explanation

Correct : c

Similar Questions

What is the worst-case time complexity of insertion in an AVL tree?
Question #23 Medium
Which operations on a binary search tree have O(h) complexity?
Question #31 Easy
Compare search complexities of sorted array vs balanced BST.
Question #47 Hard

Related Topics

Data Structures Binary Search Tree Time Complexity Algorithm Analysis Tree Algorithms Computer Science