Tell students that binary search is faster and most will take your word for it. Few will understand why. And “faster” is hard to feel when the list on the board only has ten numbers.
Search Race turns the comparison into a race students can bet on. It’s the fourth tool in our collection of free interactive CS tools. It’s free for you and your students, with no sign-up, no download and no paywall.

What Search Race does
Search Race puts two searches side by side on the same sorted list. Linear search checks every item, one by one. Binary search jumps to the middle and keeps cutting the list in half. Students pick a target, make a prediction and press Race!
- Predict, then race. Before each race, students choose: linear wins, binary wins, or a tie.
- Live counters. Each search counts its checks as it runs, so students see exactly how much work each one does.
- Lists of any size. Race on lists of 10, 20, 50 or 100 items. Pick a target that’s in the list, one that isn’t, or click any number.
- Race log. Every race is recorded, so the class can compare results across many rounds.
- The big experiment. With one click, the tool tests every possible target on lists from 10 to 1,000 items. A chart shows how the two searches grow, in the average case and the worst case.
- Step by step. Students can step through a race one check at a time to follow each search’s thinking.
3 ways to use it in class
1. Can linear ever win?
Have students click the very first number in the list and race. Linear search wins! Ask them to explain why, and whether they’d still bet on linear search for a target near the end of the list.
2. Not there
Press “Not in the list” and race. How many checks does each search need to be sure the number is missing? This is a great way to talk about the worst case.
3. Scale it up
Run the big experiment as a class. On a list of 1,000 items, linear search can take up to 1,000 checks, while binary search needs at most 10. Ask students to predict what happens with a million items. Then ask the catch: why does binary search only work on a sorted list?
One tool for every level
Search Race has two levels, so it works as a fun first look at algorithms and as a hands-on lesson on Big-O.
- Easy mode uses plain words and no code. Each search explains its steps in simple sentences, such as “Too small? Throw away the left half.”
- Advanced mode adds Python code, live variables and Big-O, so students can connect each check to O(n) and O(log n). It’s a good fit for AP CS Principles or AP CS A.
Want students to open a specific level? Add ?level=easy или же ?level=advanced to the end of the link before you share it.
The tool runs in any modern browser on Chromebooks, Windows and Mac computers, and iPads and other tablets. Project it for a whole-class race, or share the link so students can race on their own devices.
Share it anywhere
You have our permission to share Search Race wherever it helps. Post the link on your class page, your school’s resources page or your district’s teacher hub.
More free tools are on the way
Search Race is one of four free tools available now. The others are the Sorting Visualizer, the Logic Gate Simulator and the Data Structure Playground. We’re building more.
Try Search Race now, free with no sign-up.


