摘要:
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 阅读全文
posted @ 2017-03-06 09:02
CodesKiller
阅读(151)
评论(0)
推荐(0)
摘要:
Given a string, find the length of the longest substring T that contains at most k distinct characters. For example, Given s = “eceba” and k = 2, T is 阅读全文
posted @ 2017-03-06 08:08
CodesKiller
阅读(179)
评论(0)
推荐(0)
摘要:
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2017-03-06 07:56
CodesKiller
阅读(158)
评论(0)
推荐(0)
摘要:
Given a string, find the length of the longest substring T that contains at most 2 distinct characters. For example, Given s = “eceba”, T is "ece" whi 阅读全文
posted @ 2017-03-06 05:18
CodesKiller
阅读(169)
评论(0)
推荐(0)
浙公网安备 33010602011771号