Search Header Logo

rbtq

Authored by A K

Computers

University

Used 8+ times

rbtq
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the node of the red black tree to be deleted is red node

Rotation and color swapping needed

Only rotation is involved

Only color swapping is needed

none of the options is true

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While insertion in the red black tree if the parent's sibling is red

Rotation and color swapping is needed

Rotation is needed

Only color swapping is needed

None of the options is true

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While deletion of DB if the sibling is black and both it's children are red then

Color of nearest child of black sibling does not matter

Color of farthest child of black sibling does not matter

We have different rule for this case

none of the options are true

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

During double black rotation the parent always rotates

in the direction of DB node

Away from DB node

Depends on the case

none of the options are correct

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tree is used when fewer insertions and lots of searching is involved

AVL Tree

Reb Black Tree

Any variant of BS Tree

None of the options are correct

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?