Search Header Logo

data structure quizizzzs

Authored by Ms DS

Engineering

University

data structure quizizzzs
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

53 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invented AVL Trees?

Donald Knuth


Adelson-Velsky and Landis

Alan Turing

Charles Babbage

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the balance factor in an AVL tree?

Difference in height of left and right subtrees

Sum of all node values

Number of children

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of rotation is used for an LR imbalance?

Right rotation

Left rotation

Right-Left rotation

Left-Right rotation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity for searching in an AVL tree?

O(n)

O(log n)

O(1)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not true about AVL trees?

They are always balanced

Insertion may require rebalancing

Deletion is not allowed

Searching is efficient

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum height difference allowed in an AVL tree?

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation is performed to maintain the balance of an AVL tree?

Searching

Sorting

Rebalancing

Traversal

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?