What is the time complexity of binary search on a sorted array?
Technical Skill Test
Know where you stand before you apply
A timed multiple-choice exam, including coding questions, that grades you when you finish and explains every answer, so you can see what to revise next.
- questions
- 25
- minutes
- 30
- grading
- Instant
Results at a glance
See exactly which questions you missed
A quick read on your current level, with right and wrong answers laid out question by question.
Overall score
18/ 25
72% · Good start- Coding7 / 10
- Fundamentals6 / 8
- SQL5 / 7
Question map
Tap a question to review it
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
Answer explanations
Understand why each option is right or wrong
Why it's O(log n)
Binary search halves the search space on every step. An array of 1,024 items needs at most 10 comparisons, because 2¹⁰ = 1,024. Doubling the data adds only one extra step.
How it runs
From first question to a better score
Choose a category
Filter to coding questions or take the full set.
Take the timed test
Answer within the countdown and move between questions freely.
Submit for grading
Finish the exam to see your result.
Review explanations
Go through each question to learn from mistakes.
Retake anytime
Test again after studying to see progress.
- Attempt 1
- Attempt 2
- Attempt 3
- Attempt 4
Made for
- Checking readiness before applying
- Deciding what to learn next
- Measuring progress over a few weeks
Question sets are practice material and may differ from a real employer's test.
