Skip to content

Commit 342cae2

Browse files
committed
chore: update lc problem: No.0030
1 parent 65c5ade commit 342cae2

File tree

2 files changed

+3
-2
lines changed
  • solution

2 files changed

+3
-2
lines changed

solution/0000-0099/0030.Substring with Concatenation of All Words/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<pre>
2424
<strong>输入:</strong>s = "barfoothefoobarman", words = ["foo","bar"]
25-
<strong>输出:</strong><code>[0,9]</code>
25+
<strong>输出:</strong>[0,9]
2626
<strong>解释:</strong>因为 words.length == 2 同时 words[i].length == 3,连接的子字符串的长度必须为 6。
2727
子串 "barfoo" 开始位置是 0。它是 words 中以 ["bar","foo"] 顺序排列的连接。
2828
子串 "foobar" 开始位置是 9。它是 words 中以 ["foo","bar"] 顺序排列的连接。
@@ -33,7 +33,7 @@
3333

3434
<pre>
3535
<strong>输入:</strong>s = "wordgoodgoodgoodbestword", words = ["word","good","best","word"]
36-
<code><strong>输出:</strong>[]</code>
36+
<strong>输出:</strong>[]
3737
<strong>解释:</strong>因为<strong> </strong>words.length == 4 并且 words[i].length == 4,所以串联子串的长度必须为 16。
3838
s 中没有子串长度为 16 并且等于 words 的任何顺序排列的连接。
3939
所以我们返回一个空数组。

solution/util.py

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def refresh(result):
205205
pattern = re.compile('src="(.*?)"')
206206
skip_question_ids = {
207207
3,
208+
30,
208209
33,
209210
34,
210211
375,

0 commit comments

Comments
 (0)