← ALL NOTES
Array

744. Find Smallest Letter Greater Than Target

In a sorted, circular array of letters, find the smallest letter strictly greater than target — wrapping to the first letter if none qualifies. Sorted array + "find the first element satisfying a…

Loading…