Skip to main content

Binary Search Quiz

Editorial

13 questions across the four Binary Search lessons: what a task should search, which update keeps the answer, which question flips once, and what a small bug does. Pick an answer to see whether it's right and why. Nothing is saved, so you can take it again.

If one trips you up, its lesson is Introduction to Binary Search, Binary Search Without a Sorted Array, Binary Search on the Answer or Binary Search on Two Sorted Arrays and Matrices.

Quiz

1 / 13

Multiple choice

Find the smallest ship capacity that ships every package within D days. What do you binary search?