标签归档:leetcode

RSS feed of leetcode

[LeetCode]Longest Repeating Character Replacement

题目描述:

LeetCode 424. Longest Repeating Character Replacement

Given a string that consists of only uppercase English letters, you can replace any letter in the string with another letter at most k times. Find the length of a longest substring containing ...

继续阅读

[LeetCode]Reconstruct Original Digits from English

题目描述:

LeetCode 423. Reconstruct Original Digits from English

Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order.

Note:

  1. Input contains only lowercase English letters.
  2. Input is guaranteed to be valid and ...

继续阅读