
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
What is the worst case time complexity of searching an item in AVL tree?
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 Wayground
20 questions
Linked List

Quiz
•
University
25 questions
Stack and Queue

Quiz
•
University
20 questions
DS-Moodle1-Unit1

Quiz
•
University
23 questions
Data Structures and Algorithms Quiz - BATCH 1

Quiz
•
University
20 questions
Unit II and IV

Quiz
•
University
26 questions
221 quiz questions exam 2 prep

Quiz
•
University
20 questions
Quiz I - Programming in C

Quiz
•
University
20 questions
UAS SD2324P

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University