归档 2016年10月16日

LeetCode Weekly Contest 9解题报告

LeetCode Weekly Contest 9是LeetCode举办的第八场正式周赛,共4道题目,比赛时长2.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-9/

题解列表:

LeetCode 422. Valid Word Square

LeetCode 423. Reconstruct Original Digits from English

LeetCode 424. Longest Repeating Character Replacement

LeetCode 425. Word Squares

[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 ...

继续阅读

昨天

明天

归档