Complexity Analysis Station [4]

Complexity Analysis Station [4]

University

6 Qs

quiz-placeholder

Similar activities

Quiz3_DivideConquer_GreedyApproach

Quiz3_DivideConquer_GreedyApproach

University

10 Qs

¿Cuánto sabes sobre la tecnología que cambia al mundo?

¿Cuánto sabes sobre la tecnología que cambia al mundo?

University

10 Qs

Servidor Web

Servidor Web

University

10 Qs

Examen Tema 1 - Simulación

Examen Tema 1 - Simulación

University

11 Qs

Relés

Relés

University

10 Qs

Tema 8: Motores y otros actuadores de electrodomésticos

Tema 8: Motores y otros actuadores de electrodomésticos

12th Grade - University

10 Qs

PowerPoint 1

PowerPoint 1

12th Grade - University

10 Qs

Desafio Santarenzinho

Desafio Santarenzinho

KG - University

11 Qs

Complexity Analysis Station [4]

Complexity Analysis Station [4]

Assessment

Quiz

Computers

University

Hard

Created by

Dareen Hussein

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

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

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is asymptotic complexity in the following function?

O(n^2)

O(n!)

O(n log n)

O(2^n)

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

You are looking for a specific value in a binary tree, but the tree is not a binary search tree. What is the time complexity of this?

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the asymptotic complexity of the following function?

O(n^2)

O(logn)

O(sqrt(n))

O(n)

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is asymptotic complexity in the following function?

**Note that the function add_to_tree() has complexity O(logn), where n is the number of nodes in the tree.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is asymptotic complexity in the following function? Where n is the number of nodes.

O(n^2)

O(nlogn)

O(n^2logn)

O(n)

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the Big-O Notation of picking a sequence of 10 balls from a bag of 10 different coloured balls (the ball is not put back into the bag after being picked)?