What is the worst case time complexity of inserting \(n^2\) elements into an AVL-tree with n elements initially?
- A\(\Theta (n^4)\)
- B\(\Theta (n^2)\)
- C\(\Theta (n^2 \log n)\)
- D\(\Theta (n^3)\)
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems