Skip to content

Commit b8e514b

Browse files
committed
feat: add solutions to lc problem: No.1788
No.1788.Maximize the Beauty of the Garden
1 parent e24a164 commit b8e514b

File tree

50 files changed

+641
-198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+641
-198
lines changed

solution/0000-0099/0003.Longest Substring Without Repeating Characters/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@
77
<p>Given a string <code>s</code>, find the length of the <strong>longest <span data-keyword="substring-nonempty">substring</span></strong> without repeating characters.</p>
88

99
<p>&nbsp;</p>
10-
<p><strong>Example 1:</strong></p>
10+
<p><strong class="example">Example 1:</strong></p>
1111

1212
<pre>
1313
<strong>Input:</strong> s = &quot;abcabcbb&quot;
1414
<strong>Output:</strong> 3
1515
<strong>Explanation:</strong> The answer is &quot;abc&quot;, with the length of 3.
1616
</pre>
1717

18-
<p><strong>Example 2:</strong></p>
18+
<p><strong class="example">Example 2:</strong></p>
1919

2020
<pre>
2121
<strong>Input:</strong> s = &quot;bbbbb&quot;
2222
<strong>Output:</strong> 1
2323
<strong>Explanation:</strong> The answer is &quot;b&quot;, with the length of 1.
2424
</pre>
2525

26-
<p><strong>Example 3:</strong></p>
26+
<p><strong class="example">Example 3:</strong></p>
2727

2828
<pre>
2929
<strong>Input:</strong> s = &quot;pwwkew&quot;

solution/0000-0099/0039.Combination Sum/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<p>The test cases are generated such that the number of unique combinations that sum up to <code>target</code> is less than <code>150</code> combinations for the given input.</p>
1212

1313
<p>&nbsp;</p>
14-
<p><strong>Example 1:</strong></p>
14+
<p><strong class="example">Example 1:</strong></p>
1515

1616
<pre>
1717
<strong>Input:</strong> candidates = [2,3,6,7], target = 7
@@ -22,14 +22,14 @@
2222
These are the only two combinations.
2323
</pre>
2424

25-
<p><strong>Example 2:</strong></p>
25+
<p><strong class="example">Example 2:</strong></p>
2626

2727
<pre>
2828
<strong>Input:</strong> candidates = [2,3,5], target = 8
2929
<strong>Output:</strong> [[2,2,2,2],[2,3,3],[3,5]]
3030
</pre>
3131

32-
<p><strong>Example 3:</strong></p>
32+
<p><strong class="example">Example 3:</strong></p>
3333

3434
<pre>
3535
<strong>Input:</strong> candidates = [2], target = 1

solution/0000-0099/0063.Unique Paths II/README_EN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Description
66

7-
<p>You are given an <code>m x n</code> integer array <code>grid</code>. There is a robot initially located at the <b>top-left corner</b> (i.e., <code>grid[0][0]</code>). The robot tries to move to the <strong>bottom-right corner</strong> (i.e., <code>grid[m-1][n-1]</code>). The robot can only move either down or right at any point in time.</p>
7+
<p>You are given an <code>m x n</code> integer array <code>grid</code>. There is a robot initially located at the <b>top-left corner</b> (i.e., <code>grid[0][0]</code>). The robot tries to move to the <strong>bottom-right corner</strong> (i.e., <code>grid[m - 1][n - 1]</code>). The robot can only move either down or right at any point in time.</p>
88

99
<p>An obstacle and space are marked as <code>1</code> or <code>0</code> respectively in <code>grid</code>. A path that the robot takes cannot include <strong>any</strong> square that is an obstacle.</p>
1010

solution/0000-0099/0076.Minimum Window Substring/README_EN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Since the largest window of s only has one &#39;a&#39;, return empty string.
4242
<ul>
4343
<li><code>m == s.length</code></li>
4444
<li><code>n == t.length</code></li>
45-
<li><code>1 &lt;= m, n&nbsp;&lt;= 10<sup>5</sup></code></li>
45+
<li><code>1 &lt;= m, n &lt;= 10<sup>5</sup></code></li>
4646
<li><code>s</code> and <code>t</code> consist of uppercase and lowercase English letters.</li>
4747
</ul>
4848

solution/0100-0199/0140.Word Break II/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
<p><strong>Note</strong> that the same word in the dictionary may be reused multiple times in the segmentation.</p>
1010

1111
<p>&nbsp;</p>
12-
<p><strong>Example 1:</strong></p>
12+
<p><strong class="example">Example 1:</strong></p>
1313

1414
<pre>
1515
<strong>Input:</strong> s = &quot;catsanddog&quot;, wordDict = [&quot;cat&quot;,&quot;cats&quot;,&quot;and&quot;,&quot;sand&quot;,&quot;dog&quot;]
1616
<strong>Output:</strong> [&quot;cats and dog&quot;,&quot;cat sand dog&quot;]
1717
</pre>
1818

19-
<p><strong>Example 2:</strong></p>
19+
<p><strong class="example">Example 2:</strong></p>
2020

2121
<pre>
2222
<strong>Input:</strong> s = &quot;pineapplepenapple&quot;, wordDict = [&quot;apple&quot;,&quot;pen&quot;,&quot;applepen&quot;,&quot;pine&quot;,&quot;pineapple&quot;]
2323
<strong>Output:</strong> [&quot;pine apple pen apple&quot;,&quot;pineapple pen apple&quot;,&quot;pine applepen apple&quot;]
2424
<strong>Explanation:</strong> Note that you are allowed to reuse a dictionary word.
2525
</pre>
2626

27-
<p><strong>Example 3:</strong></p>
27+
<p><strong class="example">Example 3:</strong></p>
2828

2929
<pre>
3030
<strong>Input:</strong> s = &quot;catsandog&quot;, wordDict = [&quot;cats&quot;,&quot;dog&quot;,&quot;sand&quot;,&quot;and&quot;,&quot;cat&quot;]

solution/0100-0199/0162.Find Peak Element/README_EN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<p>You must write an algorithm that runs in <code>O(log n)</code> time.</p>
1414

1515
<p>&nbsp;</p>
16-
<p><strong>Example 1:</strong></p>
16+
<p><strong class="example">Example 1:</strong></p>
1717

1818
<pre>
1919
<strong>Input:</strong> nums = [1,2,3,1]
2020
<strong>Output:</strong> 2
2121
<strong>Explanation:</strong> 3 is a peak element and your function should return the index number 2.</pre>
2222

23-
<p><strong>Example 2:</strong></p>
23+
<p><strong class="example">Example 2:</strong></p>
2424

2525
<pre>
2626
<strong>Input:</strong> nums = [1,2,1,3,5,6,4]

solution/0200-0299/0219.Contains Duplicate II/README_EN.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@
44

55
## Description
66

7-
<p>Given an integer array <code>nums</code> and an integer <code>k</code>, return <code>true</code> if there are two <strong>distinct indices</strong> <code>i</code> and <code>j</code> in the array such that <code>nums[i] == nums[j]</code> and <code>abs(i - j) &lt;= k</code>.</p>
7+
<p>Given an integer array <code>nums</code> and an integer <code>k</code>, return <code>true</code> <em>if there are two <strong>distinct indices</strong> </em><code>i</code><em> and </em><code>j</code><em> in the array such that </em><code>nums[i] == nums[j]</code><em> and </em><code>abs(i - j) &lt;= k</code>.</p>
88

99
<p>&nbsp;</p>
10-
<p><strong>Example 1:</strong></p>
10+
<p><strong class="example">Example 1:</strong></p>
1111

1212
<pre>
1313
<strong>Input:</strong> nums = [1,2,3,1], k = 3
1414
<strong>Output:</strong> true
1515
</pre>
1616

17-
<p><strong>Example 2:</strong></p>
17+
<p><strong class="example">Example 2:</strong></p>
1818

1919
<pre>
2020
<strong>Input:</strong> nums = [1,0,1,1], k = 1
2121
<strong>Output:</strong> true
2222
</pre>
2323

24-
<p><strong>Example 3:</strong></p>
24+
<p><strong class="example">Example 3:</strong></p>
2525

2626
<pre>
2727
<strong>Input:</strong> nums = [1,2,3,1,2,3], k = 2

solution/0300-0399/0306.Additive Number/README_EN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<p><strong>Note:</strong> Numbers in the additive sequence <strong>cannot</strong> have leading zeros, so sequence <code>1, 2, 03</code> or <code>1, 02, 3</code> is invalid.</p>
1414

1515
<p>&nbsp;</p>
16-
<p><strong>Example 1:</strong></p>
16+
<p><strong class="example">Example 1:</strong></p>
1717

1818
<pre>
1919
<strong>Input:</strong> &quot;112358&quot;
@@ -23,7 +23,7 @@ The digits can form an additive sequence: 1, 1, 2, 3, 5, 8.
2323
1 + 1 = 2, 1 + 2 = 3, 2 + 3 = 5, 3 + 5 = 8
2424
</pre>
2525

26-
<p><strong>Example 2:</strong></p>
26+
<p><strong class="example">Example 2:</strong></p>
2727

2828
<pre>
2929
<strong>Input:</strong> &quot;199100199&quot;

solution/0300-0399/0334.Increasing Triplet Subsequence/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@
77
<p>Given an integer array <code>nums</code>, return <code>true</code><em> if there exists a triple of indices </em><code>(i, j, k)</code><em> such that </em><code>i &lt; j &lt; k</code><em> and </em><code>nums[i] &lt; nums[j] &lt; nums[k]</code>. If no such indices exists, return <code>false</code>.</p>
88

99
<p>&nbsp;</p>
10-
<p><strong>Example 1:</strong></p>
10+
<p><strong class="example">Example 1:</strong></p>
1111

1212
<pre>
1313
<strong>Input:</strong> nums = [1,2,3,4,5]
1414
<strong>Output:</strong> true
1515
<strong>Explanation:</strong> Any triplet where i &lt; j &lt; k is valid.
1616
</pre>
1717

18-
<p><strong>Example 2:</strong></p>
18+
<p><strong class="example">Example 2:</strong></p>
1919

2020
<pre>
2121
<strong>Input:</strong> nums = [5,4,3,2,1]
2222
<strong>Output:</strong> false
2323
<strong>Explanation:</strong> No triplet exists.
2424
</pre>
2525

26-
<p><strong>Example 3:</strong></p>
26+
<p><strong class="example">Example 3:</strong></p>
2727

2828
<pre>
2929
<strong>Input:</strong> nums = [2,1,5,0,4,6]

solution/0400-0499/0411.Minimum Unique Word Abbreviation/README_EN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<p>Given a target string <code>target</code> and an array of strings <code>dictionary</code>, return <em>an <strong>abbreviation</strong> of </em><code>target</code><em> with the <strong>shortest possible length</strong> such that it is <strong>not an abbreviation</strong> of <strong>any</strong> string in </em><code>dictionary</code><em>. If there are multiple shortest abbreviations, return any of them</em>.</p>
2222

2323
<p>&nbsp;</p>
24-
<p><strong>Example 1:</strong></p>
24+
<p><strong class="example">Example 1:</strong></p>
2525

2626
<pre>
2727
<strong>Input:</strong> target = &quot;apple&quot;, dictionary = [&quot;blade&quot;]
@@ -31,7 +31,7 @@ The next shortest abbreviations are &quot;a4&quot; and &quot;4e&quot;. &quot;4e&
3131
Hence, return &quot;a4&quot;.
3232
</pre>
3333

34-
<p><strong>Example 2:</strong></p>
34+
<p><strong class="example">Example 2:</strong></p>
3535

3636
<pre>
3737
<strong>Input:</strong> target = &quot;apple&quot;, dictionary = [&quot;blade&quot;,&quot;plain&quot;,&quot;amber&quot;]

solution/0500-0599/0523.Continuous Subarray Sum/README_EN.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44

55
## Description
66

7-
<p>Given an integer array <code>nums</code> and an integer <code>k</code>, return <code>true</code> <em>if </em><code>nums</code><em> has a continuous subarray of size <strong>at least two</strong> whose elements sum up to a multiple of</em> <code>k</code><em>, or </em><code>false</code><em> otherwise</em>.</p>
7+
<p>Given an integer array nums and an integer k, return <code>true</code> <em>if </em><code>nums</code><em> has a <strong>good subarray</strong> or </em><code>false</code><em> otherwise</em>.</p>
88

9-
<p>An integer <code>x</code> is a multiple of <code>k</code> if there exists an integer <code>n</code> such that <code>x = n * k</code>. <code>0</code> is <strong>always</strong> a multiple of <code>k</code>.</p>
9+
<p>A <strong>good subarray</strong> is a subarray where:</p>
10+
11+
<ul>
12+
<li>its length is <strong>at least two</strong>, and</li>
13+
<li>the sum of the elements of the subarray is a multiple of <code>k</code>.</li>
14+
</ul>
15+
16+
<p><strong>Note</strong> that:</p>
17+
18+
<ul>
19+
<li>A <strong>subarray</strong> is a contiguous part of the array.</li>
20+
<li>An integer <code>x</code> is a multiple of <code>k</code> if there exists an integer <code>n</code> such that <code>x = n * k</code>. <code>0</code> is <strong>always</strong> a multiple of <code>k</code>.</li>
21+
</ul>
1022

1123
<p>&nbsp;</p>
1224
<p><strong class="example">Example 1:</strong></p>

solution/0700-0799/0724.Find Pivot Index/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<p>Return <em>the <strong>leftmost pivot index</strong></em>. If no such index exists, return <code>-1</code>.</p>
1414

1515
<p>&nbsp;</p>
16-
<p><strong>Example 1:</strong></p>
16+
<p><strong class="example">Example 1:</strong></p>
1717

1818
<pre>
1919
<strong>Input:</strong> nums = [1,7,3,6,5,6]
@@ -24,15 +24,15 @@ Left sum = nums[0] + nums[1] + nums[2] = 1 + 7 + 3 = 11
2424
Right sum = nums[4] + nums[5] = 5 + 6 = 11
2525
</pre>
2626

27-
<p><strong>Example 2:</strong></p>
27+
<p><strong class="example">Example 2:</strong></p>
2828

2929
<pre>
3030
<strong>Input:</strong> nums = [1,2,3]
3131
<strong>Output:</strong> -1
3232
<strong>Explanation:</strong>
3333
There is no index that satisfies the conditions in the problem statement.</pre>
3434

35-
<p><strong>Example 3:</strong></p>
35+
<p><strong class="example">Example 3:</strong></p>
3636

3737
<pre>
3838
<strong>Input:</strong> nums = [2,1,-1]

solution/0700-0799/0739.Daily Temperatures/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<p>Given an array of integers <code>temperatures</code> represents the daily temperatures, return <em>an array</em> <code>answer</code> <em>such that</em> <code>answer[i]</code> <em>is the number of days you have to wait after the</em> <code>i<sup>th</sup></code> <em>day to get a warmer temperature</em>. If there is no future day for which this is possible, keep <code>answer[i] == 0</code> instead.</p>
88

99
<p>&nbsp;</p>
10-
<p><strong>Example 1:</strong></p>
10+
<p><strong class="example">Example 1:</strong></p>
1111
<pre><strong>Input:</strong> temperatures = [73,74,75,71,69,72,76,73]
1212
<strong>Output:</strong> [1,1,4,2,1,1,0,0]
13-
</pre><p><strong>Example 2:</strong></p>
13+
</pre><p><strong class="example">Example 2:</strong></p>
1414
<pre><strong>Input:</strong> temperatures = [30,40,50,60]
1515
<strong>Output:</strong> [1,1,1,0]
16-
</pre><p><strong>Example 3:</strong></p>
16+
</pre><p><strong class="example">Example 3:</strong></p>
1717
<pre><strong>Input:</strong> temperatures = [30,60,90]
1818
<strong>Output:</strong> [1,1,0]
1919
</pre>

solution/0800-0899/0843.Guess the Word/README.md

+38-27
Original file line numberDiff line numberDiff line change
@@ -6,50 +6,61 @@
66

77
<!-- 这里写题目描述 -->
88

9-
<p>这是一个&nbsp;<strong><em>交互式问题 </em></strong>。</p>
9+
<p>给你一个由 <strong>不同</strong> 字符串组成的单词列表&nbsp;<code>words</code> ,其中 <code>words[i]</code>&nbsp;长度均为&nbsp;<code>6</code> 。<code>words</code> 中的一个单词将被选作秘密单词 <code>secret</code>&nbsp;。</p>
1010

11-
<p>我们给出了一个由一些 <strong>不同的</strong> 单词组成的列表&nbsp;<code>wordlist</code>&nbsp;,对于每个&nbsp;<code>wordlist[i]</code>&nbsp;长度均为&nbsp;<code>6</code> ,这个列表中的一个单词将被选作&nbsp;<code>secret</code>&nbsp;。</p>
11+
<p>另给你一个辅助对象&nbsp;<code>Master</code> ,你可以调用&nbsp;<code>Master.guess(word)</code> 来猜单词,其中参数 <code>word</code> 长度为 6 且必须是 <code>words</code> 中的字符串。</p>
1212

13-
<p>你可以调用&nbsp;<code>Master.guess(word)</code>&nbsp;来猜单词。你所猜的单词应当是存在于原列表并且由 <code>6</code> 个小写字母组成的类型&nbsp;<code>string</code>&nbsp;</p>
13+
<p><code>Master.guess(word)</code> 将会返回如下结果:</p>
1414

15-
<p>此函数将会返回一个&nbsp;<code>integer</code>&nbsp;,表示你的猜测与<strong>秘密单词</strong>&nbsp;<code>secret</code>&nbsp;的准确匹配(值和位置同时匹配)的数目。此外,如果你的猜测不在给定的单词列表中,它将返回 <code>-1</code>。</p>
15+
<ul>
16+
<li>如果 <code>word</code> 不是 <code>words</code> 中的字符串,返回 <code>-1</code> ,或者</li>
17+
<li>一个整数,表示你所猜测的单词 <code>word</code> 与 <strong>秘密单词</strong>&nbsp;<code>secret</code>&nbsp;的准确匹配(值和位置同时匹配)的数目。</li>
18+
</ul>
1619

17-
<p>对于每个测试用例,你有 <code>10</code> 次机会来猜出这个单词。当所有调用都结束时,如果您对 <code>Master.guess</code> 的调用在&nbsp;<code>10</code> 次以内,并且至少有一次猜到&nbsp;<code>secret</code>&nbsp;,将判定为通过该用例。</p>
20+
<p>每组测试用例都会包含一个参数 <code>allowedGuesses</code> ,其中 <code>allowedGuesses</code> 是你可以调用 <code>Master.guess(word)</code> 的最大次数。</p>
1821

19-
<p>&nbsp;</p>
22+
<p>对于每组测试用例,在不超过允许猜测的次数的前提下,你应该调用 <code>Master.guess</code> 来猜出秘密单词。最终,你将会得到以下结果:</p>
23+
24+
<ul>
25+
<li>如果你调用 <code>Master.guess</code> 的次数大于 <code>allowedGuesses</code> 所限定的次数或者你没有用 <code>Master.guess</code> 猜到秘密单词,则得到 <strong><code>"Either you took too many guesses, or you did not find the secret word."</code> 。</strong></li>
26+
<li>如果你调用 <code>Master.guess</code> 猜到秘密单词,且调用 <code>Master.guess</code> 的次数小于或等于 <code>allowedGuesses</code> ,则得到 <strong><code>"You guessed the secret word correctly."</code> 。</strong></li>
27+
</ul>
2028

21-
<p><strong>示例 1:</strong></p>
29+
<p>生成的测试用例保证你可以利用某种合理的策略(而不是暴力)猜到秘密单词。</p>
30+
&nbsp;
31+
32+
<p><strong>示例 1:</strong></p>
2233

2334
<pre>
24-
<strong>输入:</strong>&nbsp;secret = "acckzz", wordlist = ["acckzz","ccbazz","eiowzz","abcczz"]
25-
<strong>输出:</strong>&nbsp;You guessed the secret word correctly.
26-
<strong>解释:</strong>
27-
<code>master.guess("aaaaaa")</code> 返回 -1, 因为&nbsp;<code>"aaaaaa"</code>&nbsp;不在 wordlist 中.
28-
<code>master.guess("acckzz") 返回</code> 6, 因为&nbsp;<code>"acckzz"</code> 就是<strong>秘密</strong>,6个字母完全匹配
29-
<code>master.guess("ccbazz")</code> 返回 3, 因为<code>&nbsp;"ccbazz"</code>&nbsp;有 3 个匹配项
30-
<code>master.guess("eiowzz")</code> 返回 2, 因为&nbsp;<code>"eiowzz"</code>&nbsp;有 2 个匹配项
31-
<code>master.guess("abcczz")</code> 返回 4, 因为&nbsp;<code>"abcczz"</code> 有 4 个匹配项
32-
我们调用了 5 次master.guess,其中一次猜到了<strong>秘密</strong>,所以我们通过了这个测试用例
35+
<strong>输入</strong>secret = "acckzz", words = ["acckzz","ccbazz","eiowzz","abcczz"], allowedGuesses = 10
36+
<strong>输出</strong>You guessed the secret word correctly.
37+
<strong>解释</strong>
38+
master.guess("aaaaaa") 返回 -1 ,因为 "aaaaaa" 不在 words 中。
39+
master.guess("acckzz") 返回 6 ,因为 "acckzz" 是秘密单词 secret ,共有 6 个字母匹配
40+
master.guess("ccbazz") 返回 3 ,因为 "ccbazz" 共有 3 个字母匹配
41+
master.guess("eiowzz") 返回 2 ,因为 "eiowzz" 共有 2 个字母匹配
42+
master.guess("abcczz") 返回 4 ,因为 "abcczz" 共有 4 个字母匹配
43+
一共调用 5 次 master.guess ,其中一个为秘密单词,所以通过测试用例
3344
</pre>
3445

35-
<p><strong>&nbsp;示例 2:</strong></p>
46+
<p><strong>示例 2</strong></p>
3647

3748
<pre>
38-
<strong>输入:</strong> secret = "hamada", wordlist = ["hamada","khaled"], numguesses = 10
39-
<strong>输出:</strong> You guessed the secret word correctly.
40-
</pre>
49+
<strong>输入</strong>secret = "hamada", words = ["hamada","khaled"], allowedGuesses = 10
50+
<strong>输出</strong>You guessed the secret word correctly.
51+
<strong>解释:</strong>共有 2 个单词,且其中一个为秘密单词,可以通过测试用例。</pre>
4152

4253
<p>&nbsp;</p>
4354

44-
<p><strong>提示:</strong></p>
55+
<p><strong>提示</strong></p>
4556

4657
<ul>
47-
<li><code>1 &lt;= wordlist.length &lt;= 100</code></li>
48-
<li><code>wordlist[i].length == 6</code></li>
49-
<li><code>wordlist[i]</code>&nbsp;只包含小写英文字母</li>
50-
<li><code>wordlist</code>&nbsp;中所有字符串都 <strong>不同</strong></li>
51-
<li><code>secret</code>&nbsp;在&nbsp;<code>wordlist</code>&nbsp;中</li>
52-
<li><code>numguesses == 10</code></li>
58+
<li><code>1 &lt;= words.length &lt;= 100</code></li>
59+
<li><code>words[i].length == 6</code></li>
60+
<li><code>words[i]</code> 仅由小写英文字母组成</li>
61+
<li><code>words</code> 中所有字符串 <strong>互不相同</strong></li>
62+
<li><code>secret</code> 存在于 <code>words</code> 中</li>
63+
<li><code>10 &lt;= allowedGuesses &lt;= 30</code></li>
5364
</ul>
5465

5566
## 解法

0 commit comments

Comments
 (0)