What is the runtime of binary search?
geth silbert quiz

Quiz
•
Computers
•
University
•
Medium
luna luna
Used 6+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
O(1)
O(logn)
O(log^2n)
O(sqrtn)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Solve the recurrence relation.
O(1)
O(n)
O(nlogn)
O(n^2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pick the most appropriate answer.
O(n)
O(n^2)
O(n^3)
O(n^5)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Pick the most appropriate answer.
O(1)
O(n)
O(nlogn)
O(n^2)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The running time of the following code, as a function of n:
O(1)
O(n)
O(n^2)
O(n^3)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The running time of the following code, as a function of n:
O(1)
O(n)
O(n^2)
O(2^n)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The running time of the following code, as a function of n:
O(n^2)
O(n^2logn)
O(n^3)
O(2^n)
Create a free account and access millions of resources
Similar Resources on Quizizz
7 questions
Data Structure 1

Quiz
•
University
10 questions
Quick sort algorithm

Quiz
•
University
7 questions
Final Practice

Quiz
•
University
10 questions
Algorithm analysis: divide & conquer theory

Quiz
•
University
10 questions
DAA_C_MCQ_2

Quiz
•
University
10 questions
DAA Quiz 1

Quiz
•
University
15 questions
Searching and Sorting

Quiz
•
University - Professi...
10 questions
Analysis of Algorithms

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

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

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade