Interactive search laboratory

Voxel Binary Search

A = [2, 4, 4, 7, 11, 11, 11, 16, 19, 23, 29, 31]

Explore the first-index lower-bound variant on a sorted array containing duplicates and gaps.
Sorted voxel towers Height and label both represent the stored value.
target x = 2
Drag to orbit · wheel to zoom · click a tower to select its value