1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-14 03:41:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

存量题库数据更新

This commit is contained in:
2023-12-09 18:42:21 +08:00
parent a788808cd7
commit c198538f10
10843 changed files with 288489 additions and 248355 deletions

View File

@@ -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>所有输入字符串中的字母来自集合&nbsp;<code>{'A', 'B', 'C', 'D', 'E', 'F', 'G'}</code></li>
<li>&nbsp;<code>allowed</code>&nbsp;中所有值都是 <strong>唯一的</strong></li>
</ul>
<p>&nbsp;</p>