Question
a.
O(n)
b.
O(logn)
c.
O(n²)
d.
O(n log n)
Posted under Discrete Mathematics
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The complexity of Binary search algorithm is _________
Similar Questions
Discover Related MCQs
Q. The complexity of merge sort algorithm is _________
View solution
Q. The Worst case occur in linear search algorithm when _________
View solution
Q. The worst case complexity for insertion sort is _________
View solution
Q. The complexity of Fibonacci series is _________
View solution
Q. The worst case occurs in quick sort when _________
View solution
Q. The worst case complexity of quick sort is _________
View solution
Q. Which is used to measure the Time complexity of an algorithm Big O notation?
View solution
Q. If for an algorithm time complexity is given by O(1) then the complexity of it is ____________
View solution
Q. If for an algorithm time complexity is given by O(log₂n) then complexity will be ___________
View solution
Q. If for an algorithm time complexity is given by O(n) then the complexity of it is ___________
View solution
Q. If for an algorithm time complexity is given by O(n²) then complexity will ___________
View solution
Q. If for an algorithm time complexity is given by O((3⁄2)ⁿ) then complexity will be ___________
View solution
Q. The time complexity of binary search is given by ___________
View solution
Q. The time complexity of the linear search is given by ___________
View solution
Q. Which algorithm is better for sorting between bubble sort and quicksort?
View solution
Q. Time complexity of the binary search algorithm is constant.
View solution
Q. The binary notation of 231 is ___________
View solution
Q. The decimal notation of 101010101 is ___________
View solution
Q. The binary notation of ABBA is ___________
View solution
Q. The hexadecimal notation of (1011 0111 1011)₂ is ___________
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Discrete Mathematics? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!