Problem
Solution
Initial thoughts
Python implementation
|
|
Java implementation
|
|
Time complexity
O(n).
Space complexity
O(1).
Links
744. Find Smallest Letter Greater Than Target
(中文版) 算法笔记: 力扣#744 寻找比目标字母大的最小字母
|
|
|
|
O(n).
O(1).
744. Find Smallest Letter Greater Than Target
(中文版) 算法笔记: 力扣#744 寻找比目标字母大的最小字母
近期评论