DS  Quiz2

DS Quiz2

University

25 Qs

quiz-placeholder

Similar activities

Data Structure & Algorithm-Quiz-1

Data Structure & Algorithm-Quiz-1

University

30 Qs

Latihan Informatika Kelas 9

Latihan Informatika Kelas 9

9th Grade - University

20 Qs

EC8393_FDS_MODEL EXAM_3_PART A

EC8393_FDS_MODEL EXAM_3_PART A

University

30 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Exploring ROS Basics & Modelling

Exploring ROS Basics & Modelling

University

26 Qs

SBKD

SBKD

University

20 Qs

Basic Data Structures & Algorithms

Basic Data Structures & Algorithms

University

23 Qs

SD Pra UAS

SD Pra UAS

University

23 Qs

DS  Quiz2

DS Quiz2

Assessment

Quiz

Computers

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?