mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-14 03:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<p><img src="https://assets.leetcode.com/uploads/2021/08/26/pyramid1-grid.jpg" style="height: 232px; width: 600px;" /></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入:</strong>bottom = "BCD", allowed = ["BCG", "CDE", "GEA", "FFF"]
|
||||
<strong>输入:</strong>bottom = "BCD", allowed = ["BCC","CDE","CEA","FFF"]
|
||||
<strong>输出:</strong>true
|
||||
<strong>解释:</strong>允许的三角形模式显示在右边。
|
||||
从最底层(第3层)开始,我们可以在第2层构建“CE”,然后在第1层构建“E”。
|
||||
@@ -29,7 +29,7 @@
|
||||
<p><img src="https://assets.leetcode.com/uploads/2021/08/26/pyramid2-grid.jpg" style="height: 359px; width: 600px;" /></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入:</strong>bottom = "AABA", allowed = ["AAA", "AAB", "ABA", "ABB", "BAC"]
|
||||
<strong>输入:</strong>bottom = "AAAA", allowed = ["AAB","AAC","BCD","BBE","DEF"]
|
||||
<strong>输出:</strong>false
|
||||
<strong>解释:</strong>允许的三角形模式显示在右边。
|
||||
从最底层(游戏邦注:即第4个关卡)开始,创造第3个关卡有多种方法,但如果尝试所有可能性,你便会在创造第1个关卡前陷入困境。
|
||||
@@ -46,5 +46,3 @@
|
||||
<li>所有输入字符串中的字母来自集合 <code>{'A', 'B', 'C', 'D', 'E', 'F', 'G'}</code>。</li>
|
||||
<li> <code>allowed</code> 中所有值都是 <strong>唯一的</strong></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
Reference in New Issue
Block a user