AnimG LogoAnimG

Binary Search

Audience: High SchoolCategory: Computer Science

Description

Demonstrates binary search on a sorted array of 16 numbers searching for the value 42. Each step highlights the middle element, eliminates half the array, and a step counter shows the logarithmic efficiency versus linear search.

Inspired by this animation?

Binary Search | AnimG | AnimG