mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>堆箱子。给你一堆n个箱子,箱子宽 wi、深 di、高 hi。箱子不能翻转,将箱子堆起来时,下面箱子的宽度、高度和深度必须大于上面的箱子。实现一种方法,搭出最高的一堆箱子。箱堆的高度为每个箱子高度的总和。</p>\n\n<p>输入使用数组<code>[wi, di, hi]</code>表示每个箱子。</p>\n\n<p><strong>示例1:</strong></p>\n\n<pre><strong> 输入</strong>:box = [[1, 1, 1], [2, 2, 2], [3, 3, 3]]\n<strong> 输出</strong>:6\n</pre>\n\n<p><strong>示例2:</strong></p>\n\n<pre><strong> 输入</strong>:box = [[1, 1, 1], [2, 3, 4], [2, 6, 7], [3, 4, 5]]\n<strong> 输出</strong>:10\n</pre>\n\n<p><strong>提示:</strong></p>\n\n<ol>\n\t<li>箱子的数目不大于3000个。</li>\n</ol>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 64,
|
||||
"likes": 66,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.6K\", \"totalSubmission\": \"16.9K\", \"totalAcceptedRaw\": 8597, \"totalSubmissionRaw\": 16903, \"acRate\": \"50.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.9K\", \"totalSubmission\": \"17.5K\", \"totalAcceptedRaw\": 8871, \"totalSubmissionRaw\": 17470, \"acRate\": \"50.8%\"}",
|
||||
"hints": [
|
||||
"排列箱子会有什么帮助吗?",
|
||||
"我们可以按任一维度对箱子从大到小进行排序。这样我们会有箱子某一维度的局部顺序,在数组中后面的箱子必须出现在数组中前面的箱子之前。",
|
||||
|
Reference in New Issue
Block a user