mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-12 02:41:42 +08:00
批量更新数据
This commit is contained in:
@@ -11,28 +11,28 @@
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><strong>示例 1:</strong></p>
|
||||
<p><strong>示例 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入: </strong>article = "aa", input = "a"
|
||||
<strong>输出:</strong> false
|
||||
<strong>解释:</strong> "a" 无法匹配 "aa" 整个字符串。
|
||||
<strong>输入:</strong>article = "aa", input = "a"
|
||||
<strong>输出:</strong>false
|
||||
<strong>解释:</strong>"a" 无法匹配 "aa" 整个字符串。
|
||||
</pre>
|
||||
|
||||
<p><strong>示例 2:</strong></p>
|
||||
<p><strong>示例 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入: </strong>article = "aa", input = "a*"
|
||||
<strong>输出:</strong> true
|
||||
<strong>解释:</strong> 因为 '*' 代表可以匹配零个或多个前面的那一个元素, 在这里前面的元素就是 'a'。因此,字符串 "aa" 可被视为 'a' 重复了一次。
|
||||
<strong>输入:</strong>article = "aa", input = "a*"
|
||||
<strong>输出:</strong>true
|
||||
<strong>解释:</strong>因为 '*' 代表可以匹配零个或多个前面的那一个元素, 在这里前面的元素就是 'a'。因此,字符串 "aa" 可被视为 'a' 重复了一次。
|
||||
</pre>
|
||||
|
||||
<p><strong>示例 3:</strong></p>
|
||||
<p><strong>示例 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入: </strong>article = "ab", input = ".*"
|
||||
<strong>输出:</strong> true
|
||||
<strong>解释:</strong> ".*" 表示可匹配零个或多个('*')任意字符('.')。
|
||||
<strong>输入:</strong>article = "ab", input = ".*"
|
||||
<strong>输出:</strong>true
|
||||
<strong>解释:</strong>".*" 表示可匹配零个或多个('*')任意字符('.')。
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
|
Reference in New Issue
Block a user