LeetCode
Find Smallest Letter Greater Than Target
Click
here
for an explanation.