首页>itarticle>744. find smallest letter greater than target
744. find smallest letter greater than target
admin11月 13, 20200
explanation
find smallest elements that is larger than target Letters also wrap around. For example, if the target is target = ‘z’ and letters = [‘a’, ‘b’], the answer is ‘a’.
如果没有提warp around,{a, b , c} target c, 需要问面试官这种情况下, 返回什么
近期评论