What is asymptotic complexity in the following function?
Complexity Analysis Station [4]

Quiz
•
Computers
•
University
•
Hard

Dareen Hussein
Used 14+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
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
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
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)?
Similar Resources on Quizizz
11 questions
Trees

Quiz
•
University
9 questions
DSC UNIT 7

Quiz
•
University
9 questions
Data Structures and Algorithm

Quiz
•
University
10 questions
ALDA - Week 03

Quiz
•
University
6 questions
MPS INTERNAL 2 TEST

Quiz
•
University
11 questions
JAVALO3

Quiz
•
University
10 questions
Data structure

Quiz
•
University
10 questions
LINKED LIST

Quiz
•
University
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Summer

Quiz
•
KG - University
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
47 questions
2nd Semester 2025 Map Final

Quiz
•
KG - University
43 questions
Science 5th Grade EOG Review #3

Quiz
•
KG - University
24 questions
Cartoon Characters

Quiz
•
KG - University
9 questions
What is your personality?

Quiz
•
University
10 questions
El Presente

Quiz
•
1st Grade - University
32 questions
NC Biology EOC Review : Heredity, Genetics, Biotechnology

Quiz
•
KG - University