Computer Science - Algorithms - Binary search - Linear vs Binary Race

Speed comparison game. Show a sorted array of 20 numbers. A target value is shown. Two racers: 'Linear Larry' checks left-to-right (one per second). 'Binary Betty' uses binary search (one comparison per second). Visual: Larry highlights elements one by one. Betty highlights mid, then half disappears

Edodovivmagarwal
Computer Science - Algorithms - Binary search - Linear vs Binary Race
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Algorithms - Binary search - Linear vs Binary Race

vivmagarwal
vivmagarwalJan 29, 2026

Description

Speed comparison game. Show a sorted array of 20 numbers. A target value is shown. Two racers: 'Linear Larry' checks left-to-right (one per second). 'Binary Betty' uses binary search (one comparison per second). Visual: Larry highlights elements one by one. Betty highlights mid, then half disappears

Details

Computer ScienceAlgorithmsClass 9, Class 9, Stage 9, Grade 9, MYP Year 4

Engagement

11

Likes

0

Remixes

0

Comments