Problem 744 · Easy

Find Smallest Letter Greater Than Target

Find the first letter alphabetically after a target, wrapping to the start if none exists. The visual narrows a sorted list by halves toward the boundary.

Open the interactive visualisation