Learnacy Lab

Binary Search · Computer Science

Open the middle door on a sorted row and halve the search range each time. Compare the target to decide which half to keep.