1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-12 02:41:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

批量更新数据

This commit is contained in:
2025-01-09 20:29:41 +08:00
parent 04ecea043d
commit 48cdd06c2b
5053 changed files with 156164 additions and 135322 deletions

View File

@@ -1,13 +1,12 @@
<p>给你一个只包含三种字符的字符串,支持的字符类型分别是 <code>'('</code><code>')'</code><code>'*'</code>。请你检验这个字符串是否为有效字符串,如果是有效字符串返回 <code>true</code></p>
<p>给你一个只包含三种字符的字符串,支持的字符类型分别是 <code>'('</code><code>')'</code><code>'*'</code>。请你检验这个字符串是否为有效字符串,如果是 <strong>有效</strong> 字符串返回 <code>true</code></p>
<p>有效字符串符合如下规则:</p>
<p><strong>有效</strong> 字符串符合如下规则:</p>
<ul>
<li>任何左括号 <code>'('</code>&nbsp;必须有相应的右括号 <code>')'</code></li>
<li>任何右括号 <code>')'</code>&nbsp;必须有相应的左括号 <code>'('</code>&nbsp;</li>
<li>左括号 <code>'('</code> 必须在对应的右括号之前 <code>')'</code></li>
<li><code>'*'</code>&nbsp;可以被视为单个右括号 <code>')'</code>&nbsp;,或单个左括号 <code>'('</code>&nbsp;,或一个空字符串。</li>
<li>一个空字符串也被视为有效字符串。</li>
<li><code>'*'</code>&nbsp;可以被视为单个右括号 <code>')'</code>&nbsp;,或单个左括号 <code>'('</code>&nbsp;,或一个空字符串 <code>""</code></li>
</ul>
<p>&nbsp;</p>