What is the worst case time complexity of searching an item in AVL tree?

DS Quiz2

Quiz
•
Computers
•
University
•
Medium
DEVAKI P
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
O(1)
O(Log N)
O(N log N)
N log (N)
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the average case time complexity of inserting an item in an AVL tree?
O(1)
O(Log N)
O(N)
O(N log N)
3.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Which of the following operations can be performed in O(Log N) time in an AVL tree?
Insertion
Deletion
Searching
All of the above
4.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
We have 2,5 in AVL tree. When we insert 7 in that AVL tree whether it maintains AVL property?
no
yes
5.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What balancing technique is used in an AVL tree to maintain its height?
Left Rotation
Right Rotation
All of the above
6.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
What is the maximum height of an AVL tree with N nodes?
O(N)
O(Log N)
O(N log N)
O(sqrt(N))
7.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
The AVL tree has 5,7. When we insert 6, which rotation is needed to balance the tree?
SRR
DRR
SRL
DRL
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
9.4.25 Mentoring quiz

Quiz
•
University
20 questions
Data Structures Quiz

Quiz
•
University
20 questions
Data Structures and Algorithm

Quiz
•
University
20 questions
data structures1

Quiz
•
University
20 questions
DSA - QA3

Quiz
•
University
30 questions
Binary Trees and Traversals Quiz

Quiz
•
University
20 questions
UTS - Struktur Data

Quiz
•
University
20 questions
Latihan Soal Struktur Data

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade