mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<p><strong>Note</strong> that the same word in the dictionary may be reused multiple times in the segmentation.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "leetcode", wordDict = ["leet","code"]
|
||||
@@ -11,7 +11,7 @@
|
||||
<strong>Explanation:</strong> Return true because "leetcode" can be segmented as "leet code".
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "applepenapple", wordDict = ["apple","pen"]
|
||||
@@ -20,7 +20,7 @@
|
||||
Note that you are allowed to reuse a dictionary word.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "catsandog", wordDict = ["cats","dog","sand","and","cat"]
|
||||
|
Reference in New Issue
Block a user