Loading visualizer…
Classic search algorithms from brute force to logarithmic-time binary search.
Variants
Binary search over the answer space — find the slowest eating rate that finishes in time.
Binary search that figures out which half is sorted at each step to handle a rotated array.