mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-12 19:01:47 +08:00
存量题库数据更新
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<p>给你一个字符串 <code>s</code> 和一个整数 <code>k</code> 。你可以选择字符串中的任一字符,并将其更改为任何其他大写英文字符。该操作最多可执行 <code>k</code> 次。</p>
|
||||
|
||||
<p>在执行上述操作后,返回包含相同字母的最长子字符串的长度。</p>
|
||||
<p>在执行上述操作后,返回 <em>包含相同字母的最长子字符串的长度。</em></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<strong>解释:</strong>
|
||||
将中间的一个'A'替换为'B',字符串变为 "AABBBBA"。
|
||||
子串 "BBBB" 有最长重复字母, 答案为 4。
|
||||
可能存在其他的方法来得到同样的结果。
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
|
Reference in New Issue
Block a user