Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All ...
Given anon emptystring containing an out of order English representation of digits , output the digits in ascending order. Note: Input contains only lowercase English letters. Input is guaranteed to ...
2016-10-25 12:16 0 4285 推荐指数:
Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All ...
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: Follow up:Could you do ...
refer to Recursion https://leetcode.com/discuss/84702/share-my-solution and Iteration https://leetcode.com/discuss/84706 ...
Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. For example, Hint ...
X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. Each digit must ...
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number ...
Given a non-negative integer N, find the largest number that is less than or equal to N with monotone increasing digits. (Recall ...
//注:这里我限制了4到30个字符var str = "再找找(asdf)" var reg = /^[A-Za-z0-9-\(\)\u4e00-\u9fa5]{4,30}$/; if (!re ...