CodeMosa
Master LeetCode Patterns
All Patterns
Collections
Sign In
Back
Big-O Notation
Question 1 of 5
20% Complete
Easy
What is the time complexity of binary search?
A
O(n)
B
O(log n)
C
O(n log n)
D
O(n^2)