Binary Search Tree

Binary Search Tree

Professional Development

10 Qs

quiz-placeholder

Similar activities

Post Test SeBBar Ferizyan #006

Post Test SeBBar Ferizyan #006

Professional Development

10 Qs

Repaso Clase 4 y 5 - Entorno financiero

Repaso Clase 4 y 5 - Entorno financiero

Professional Development

10 Qs

Labor Relations and Negotations 1

Labor Relations and Negotations 1

University - Professional Development

15 Qs

02. Quiz Sosialisasi

02. Quiz Sosialisasi

Professional Development

15 Qs

Gestión de Compras y Contrataciones

Gestión de Compras y Contrataciones

Professional Development

10 Qs

Black History Month

Black History Month

Professional Development

10 Qs

N/A-Clase3: EXPLICA: Biodivesidad, Mecanismos, Materia

N/A-Clase3: EXPLICA: Biodivesidad, Mecanismos, Materia

Professional Development

10 Qs

Marketing Digital

Marketing Digital

Professional Development

14 Qs

Binary Search Tree

Binary Search Tree

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

LE210 Sankara Nayaki K

Used 290+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Post order traversal :

1a+b*c+d*e+f*g

1abc*+de*f+g*+

++a*bc*+*defg

abc+*+defg*+*

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In Order traversal

40 20 50 10 30

40 50 20 30 10

10 20 30 40 50

50 40 20 30 10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the MAXIMUM number of nodes in a binary search tree with height = 5 ?

26-1

25-1

25

26

6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the MINIMUM number of nodes in a binary search tree with height = 5?

6

5

26-1

25-1

25

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case runtime of lookUp/get in a binary search tree?

O(n)

O(logn)

O(1)

O(n2)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case runtime of lookUp/get in a *perfectly balanced* binary search tree?

O(logn)

O(n)

O(1)

O(n2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When deleting from a binary search tree, if the node being deleted has 2 children, we replace the entry with ____.

the inorder successor
null
the left child
the right child
the parent

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?