
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
C - Structures

Quiz
•
University
20 questions
PROGRAMMING IN C AND DATA STRUCTURES - UNIT V

Quiz
•
University
20 questions
DATA STRUCTURES

Quiz
•
University
20 questions
DS QUIZ-1

Quiz
•
University
20 questions
Data Structures and Algorithms Quiz Part2

Quiz
•
University
20 questions
Trees and Graphs

Quiz
•
University
20 questions
Data Structures

Quiz
•
University - Professi...
30 questions
Data Structures and Algorithm

Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University