[LeetCode]Find Smallest Letter Greater Than Target

题目描述:

LeetCode 744. Find Smallest Letter Greater Than Target

Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element in the list that is larger than the given target ...

继续阅读

[LeetCode]Monotone Increasing Digits

题目描述:

LeetCode 738. Monotone Increasing Digits

Given a non-negative integer N, find the largest number that is less than or equal to N with monotone increasing digits.

(Recall that an integer has monotone increasing digits if and only if each ...

继续阅读