EasyRememberDSA Coding PatternsMultiple Choice
What is the time complexity of binary search?
Remember — Tests recall of fundamental facts and definitions.
Answer Options
AO(n)
BO(n log n)
CO(log n)
DO(1)
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 13+ more DSA Coding Patterns questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the DSA Coding Patterns topic (Algorithms).
More DSA Coding Patterns Questions
What pattern would you use for 'find the longest substring without repeating characters'?
Medium-EasyWhat pattern for 'next greater element' problems?
Medium-EasyWhen should you use BFS over DFS?
MediumWhat data structure for 'find median in a stream'?
MediumWhat is the time complexity of Union-Find with path compression and union by rank?
Medium