mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
移除零宽空格
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<p>给你一个字符串 <code>s</code> ,它仅包含字符 <code>'a'</code> 和 <code>'b'</code> 。</p>
|
||||
<p>给你一个字符串 <code>s</code> ,它仅包含字符 <code>'a'</code> 和 <code>'b'</code> 。</p>
|
||||
|
||||
<p>你可以删除 <code>s</code> 中任意数目的字符,使得 <code>s</code> <strong>平衡</strong> 。当不存在下标对 <code>(i,j)</code> 满足 <code>i < j</code> ,且 <code>s[i] = 'b'</code> 的同时 <code>s[j]= 'a'</code> ,此时认为 <code>s</code> 是 <strong>平衡 </strong>的。</p>
|
||||
|
||||
@@ -30,5 +30,5 @@
|
||||
|
||||
<ul>
|
||||
<li><code>1 <= s.length <= 10<sup>5</sup></code></li>
|
||||
<li><code>s[i]</code> 要么是 <code>'a'</code> 要么是 <code>'b'</code><strong> </strong>。</li>
|
||||
<li><code>s[i]</code> 要么是 <code>'a'</code> 要么是 <code>'b'</code><strong> </strong>。</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user