mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-13 01:15:14 +08:00
update
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
<ul>
|
||||
<li>选择一个下标 <code>i</code> ,满足 <code>s[i]</code> 左边和右边都 <strong>至少</strong> 有一个字符与它相同。</li>
|
||||
<li>删除 <code>s[i]</code> <strong>左边</strong> 离它 <strong>最近</strong> 且相同的字符。</li>
|
||||
<li>删除 <code>s[i]</code> <strong>右边</strong> 离它 <strong>最近</strong> 且相同的字符。</li>
|
||||
<li>删除 <code>i</code> <strong>左边</strong> 离它 <strong>最近</strong> 的 <code>s[i]</code> 字符。</li>
|
||||
<li>删除 <code>i</code> <strong>右边</strong> 离它 <strong>最近</strong> 的 <code>s[i]</code> 字符。</li>
|
||||
</ul>
|
||||
|
||||
<p>请你返回执行完所有操作后, <code>s</code> 的 <strong>最短</strong> 长度。</p>
|
||||
|
Reference in New Issue
Block a user