mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 10:38:13 +08:00
update
This commit is contained in:
parent
9bc4722a45
commit
3770b44d1e
1
get.bat
1
get.bat
@ -1,5 +1,6 @@
|
||||
git checkout master
|
||||
git pull
|
||||
git count-objects -vH
|
||||
|
||||
python leetcode.py
|
||||
python leetcode-cn.py
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"138.9K\", \"totalSubmission\": \"297.6K\", \"totalAcceptedRaw\": 138918, \"totalSubmissionRaw\": 297650, \"acRate\": \"46.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"138.9K\", \"totalSubmission\": \"297.7K\", \"totalAcceptedRaw\": 138923, \"totalSubmissionRaw\": 297662, \"acRate\": \"46.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"28.2K\", \"totalSubmission\": \"38.6K\", \"totalAcceptedRaw\": 28201, \"totalSubmissionRaw\": 38649, \"acRate\": \"73.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"28.2K\", \"totalSubmission\": \"38.7K\", \"totalAcceptedRaw\": 28209, \"totalSubmissionRaw\": 38660, \"acRate\": \"73.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"23.9K\", \"totalSubmission\": \"37.7K\", \"totalAcceptedRaw\": 23898, \"totalSubmissionRaw\": 37653, \"acRate\": \"63.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"23.9K\", \"totalSubmission\": \"37.7K\", \"totalAcceptedRaw\": 23899, \"totalSubmissionRaw\": 37657, \"acRate\": \"63.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"28.7K\", \"totalSubmission\": \"57K\", \"totalAcceptedRaw\": 28749, \"totalSubmissionRaw\": 57002, \"acRate\": \"50.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"28.8K\", \"totalSubmission\": \"57K\", \"totalAcceptedRaw\": 28752, \"totalSubmissionRaw\": 57009, \"acRate\": \"50.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"70.9K\", \"totalSubmission\": \"128.3K\", \"totalAcceptedRaw\": 70948, \"totalSubmissionRaw\": 128313, \"acRate\": \"55.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"71K\", \"totalSubmission\": \"128.3K\", \"totalAcceptedRaw\": 70951, \"totalSubmissionRaw\": 128316, \"acRate\": \"55.3%\"}",
|
||||
"hints": [
|
||||
"Keep track of where the next character starts. At the end, you want to know if you started on the last bit."
|
||||
],
|
||||
|
@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"78.8K\", \"totalSubmission\": \"216.3K\", \"totalAcceptedRaw\": 78782, \"totalSubmissionRaw\": 216274, \"acRate\": \"36.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"78.8K\", \"totalSubmission\": \"216.3K\", \"totalAcceptedRaw\": 78787, \"totalSubmissionRaw\": 216280, \"acRate\": \"36.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"3.6K\", \"totalSubmission\": \"6.8K\", \"totalAcceptedRaw\": 3552, \"totalSubmissionRaw\": 6843, \"acRate\": \"51.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"3.6K\", \"totalSubmission\": \"6.8K\", \"totalAcceptedRaw\": 3553, \"totalSubmissionRaw\": 6844, \"acRate\": \"51.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"61K\", \"totalSubmission\": \"140.4K\", \"totalAcceptedRaw\": 60992, \"totalSubmissionRaw\": 140391, \"acRate\": \"43.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"61K\", \"totalSubmission\": \"140.4K\", \"totalAcceptedRaw\": 61001, \"totalSubmissionRaw\": 140408, \"acRate\": \"43.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"93.6K\", \"totalSubmission\": \"185.4K\", \"totalAcceptedRaw\": 93589, \"totalSubmissionRaw\": 185411, \"acRate\": \"50.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"93.6K\", \"totalSubmission\": \"185.4K\", \"totalAcceptedRaw\": 93591, \"totalSubmissionRaw\": 185414, \"acRate\": \"50.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"68.3K\", \"totalSubmission\": \"118.2K\", \"totalAcceptedRaw\": 68320, \"totalSubmissionRaw\": 118232, \"acRate\": \"57.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"68.3K\", \"totalSubmission\": \"118.2K\", \"totalAcceptedRaw\": 68323, \"totalSubmissionRaw\": 118236, \"acRate\": \"57.8%\"}",
|
||||
"hints": [
|
||||
"How many characters may be there in the clipboard at the last step if n = 3? n = 7? n = 10? n = 24?"
|
||||
],
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"16.4K\", \"totalSubmission\": \"29.7K\", \"totalAcceptedRaw\": 16373, \"totalSubmissionRaw\": 29669, \"acRate\": \"55.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"16.4K\", \"totalSubmission\": \"29.7K\", \"totalAcceptedRaw\": 16374, \"totalSubmissionRaw\": 29673, \"acRate\": \"55.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"41.9K\", \"totalSubmission\": \"77.9K\", \"totalAcceptedRaw\": 41870, \"totalSubmissionRaw\": 77880, \"acRate\": \"53.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"41.9K\", \"totalSubmission\": \"77.9K\", \"totalAcceptedRaw\": 41872, \"totalSubmissionRaw\": 77882, \"acRate\": \"53.8%\"}",
|
||||
"hints": [],
|
||||
"solution": {
|
||||
"id": "148",
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"23.9K\", \"totalSubmission\": \"31.5K\", \"totalAcceptedRaw\": 23896, \"totalSubmissionRaw\": 31509, \"acRate\": \"75.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"23.9K\", \"totalSubmission\": \"31.5K\", \"totalAcceptedRaw\": 23897, \"totalSubmissionRaw\": 31511, \"acRate\": \"75.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"62.9K\", \"totalSubmission\": \"125.6K\", \"totalAcceptedRaw\": 62932, \"totalSubmissionRaw\": 125617, \"acRate\": \"50.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"62.9K\", \"totalSubmission\": \"125.6K\", \"totalAcceptedRaw\": 62940, \"totalSubmissionRaw\": 125633, \"acRate\": \"50.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"16.6K\", \"totalSubmission\": \"32.9K\", \"totalAcceptedRaw\": 16613, \"totalSubmissionRaw\": 32937, \"acRate\": \"50.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"16.6K\", \"totalSubmission\": \"32.9K\", \"totalAcceptedRaw\": 16614, \"totalSubmissionRaw\": 32938, \"acRate\": \"50.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"26.9K\", \"totalSubmission\": \"87.9K\", \"totalAcceptedRaw\": 26906, \"totalSubmissionRaw\": 87931, \"acRate\": \"30.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"26.9K\", \"totalSubmission\": \"87.9K\", \"totalAcceptedRaw\": 26907, \"totalSubmissionRaw\": 87935, \"acRate\": \"30.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"33K\", \"totalSubmission\": \"44.8K\", \"totalAcceptedRaw\": 33012, \"totalSubmissionRaw\": 44794, \"acRate\": \"73.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"33K\", \"totalSubmission\": \"44.8K\", \"totalAcceptedRaw\": 33015, \"totalSubmissionRaw\": 44798, \"acRate\": \"73.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"529.6K\", \"totalSubmission\": \"1.2M\", \"totalAcceptedRaw\": 529589, \"totalSubmissionRaw\": 1180481, \"acRate\": \"44.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"529.6K\", \"totalSubmission\": \"1.2M\", \"totalAcceptedRaw\": 529631, \"totalSubmissionRaw\": 1180605, \"acRate\": \"44.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"10.7K\", \"totalSubmission\": \"28.5K\", \"totalAcceptedRaw\": 10663, \"totalSubmissionRaw\": 28472, \"acRate\": \"37.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"10.7K\", \"totalSubmission\": \"28.5K\", \"totalAcceptedRaw\": 10664, \"totalSubmissionRaw\": 28473, \"acRate\": \"37.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给你一个整数数组 <code>nums</code> ,判断是否存在三元组 <code>[nums[i], nums[j], nums[k]]</code> 满足 <code>i != j</code>、<code>i != k</code> 且 <code>j != k</code> ,同时还满足 <code>nums[i] + nums[j] + nums[k] == 0</code> 。请</p>\n\n<p>你返回所有和为 <code>0</code> 且不重复的三元组。</p>\n\n<p><strong>注意:</strong>答案中不可以包含重复的三元组。</p>\n\n<p> </p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>nums = [-1,0,1,2,-1,-4]\n<strong>输出:</strong>[[-1,-1,2],[-1,0,1]]\n<strong>解释:</strong>\nnums[0] + nums[1] + nums[2] = (-1) + 0 + 1 = 0 。\nnums[1] + nums[2] + nums[4] = 0 + 1 + (-1) = 0 。\nnums[0] + nums[3] + nums[4] = (-1) + 2 + (-1) = 0 。\n不同的三元组是 [-1,0,1] 和 [-1,-1,2] 。\n注意,输出的顺序和三元组的顺序并不重要。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>nums = [0,1,1]\n<strong>输出:</strong>[]\n<strong>解释:</strong>唯一可能的三元组和不为 0 。\n</pre>\n\n<p><strong>示例 3:</strong></p>\n\n<pre>\n<strong>输入:</strong>nums = [0,0,0]\n<strong>输出:</strong>[[0,0,0]]\n<strong>解释:</strong>唯一可能的三元组和为 0 。\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>3 <= nums.length <= 3000</code></li>\n\t<li><code>-10<sup>5</sup> <= nums[i] <= 10<sup>5</sup></code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 6577,
|
||||
"likes": 6579,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Two Sum\", \"titleSlug\": \"two-sum\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u4e24\\u6570\\u4e4b\\u548c\", \"isPaidOnly\": false}, {\"title\": \"3Sum Closest\", \"titleSlug\": \"3sum-closest\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u6700\\u63a5\\u8fd1\\u7684\\u4e09\\u6570\\u4e4b\\u548c\", \"isPaidOnly\": false}, {\"title\": \"4Sum\", \"titleSlug\": \"4sum\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u56db\\u6570\\u4e4b\\u548c\", \"isPaidOnly\": false}, {\"title\": \"3Sum Smaller\", \"titleSlug\": \"3sum-smaller\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u8f83\\u5c0f\\u7684\\u4e09\\u6570\\u4e4b\\u548c\", \"isPaidOnly\": true}]",
|
||||
@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"1.6M\", \"totalSubmission\": \"4.2M\", \"totalAcceptedRaw\": 1587519, \"totalSubmissionRaw\": 4230529, \"acRate\": \"37.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"1.6M\", \"totalSubmission\": \"4.2M\", \"totalAcceptedRaw\": 1587816, \"totalSubmissionRaw\": 4231168, \"acRate\": \"37.5%\"}",
|
||||
"hints": [
|
||||
"So, we essentially need to find three numbers x, y, and z such that they add up to the given value. If we fix one of the numbers say x, we are left with the two-sum problem at hand!",
|
||||
"For the two-sum problem, if we fix one of the numbers, say x, we have to scan the entire array to find the next number y, which is value - x where value is the input parameter. Can we change our array somehow so that this search becomes faster?",
|
||||
|
@ -132,7 +132,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"52.4K\", \"totalSubmission\": \"76.1K\", \"totalAcceptedRaw\": 52423, \"totalSubmissionRaw\": 76107, \"acRate\": \"68.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"52.4K\", \"totalSubmission\": \"76.1K\", \"totalAcceptedRaw\": 52431, \"totalSubmissionRaw\": 76119, \"acRate\": \"68.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"27.1K\", \"totalSubmission\": \"41.4K\", \"totalAcceptedRaw\": 27103, \"totalSubmissionRaw\": 41368, \"acRate\": \"65.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"27.1K\", \"totalSubmission\": \"41.4K\", \"totalAcceptedRaw\": 27116, \"totalSubmissionRaw\": 41391, \"acRate\": \"65.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"238.3K\", \"totalSubmission\": \"370.7K\", \"totalAcceptedRaw\": 238310, \"totalSubmissionRaw\": 370744, \"acRate\": \"64.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"238.4K\", \"totalSubmission\": \"370.8K\", \"totalAcceptedRaw\": 238364, \"totalSubmissionRaw\": 370817, \"acRate\": \"64.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给你一个由 <code>n</code> 个整数组成的数组 <code>nums</code> ,和一个目标值 <code>target</code> 。请你找出并返回满足下述全部条件且<strong>不重复</strong>的四元组 <code>[nums[a], nums[b], nums[c], nums[d]]</code> (若两个四元组元素一一对应,则认为两个四元组重复):</p>\n\n<ul>\n\t<li><code>0 <= a, b, c, d < n</code></li>\n\t<li><code>a</code>、<code>b</code>、<code>c</code> 和 <code>d</code> <strong>互不相同</strong></li>\n\t<li><code>nums[a] + nums[b] + nums[c] + nums[d] == target</code></li>\n</ul>\n\n<p>你可以按 <strong>任意顺序</strong> 返回答案 。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>nums = [1,0,-1,0,-2,2], target = 0\n<strong>输出:</strong>[[-2,-1,1,2],[-2,0,0,2],[-1,0,0,1]]\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>nums = [2,2,2,2,2], target = 8\n<strong>输出:</strong>[[2,2,2,2]]\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= nums.length <= 200</code></li>\n\t<li><code>-10<sup>9</sup> <= nums[i] <= 10<sup>9</sup></code></li>\n\t<li><code>-10<sup>9</sup> <= target <= 10<sup>9</sup></code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 1817,
|
||||
"likes": 1818,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Two Sum\", \"titleSlug\": \"two-sum\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u4e24\\u6570\\u4e4b\\u548c\", \"isPaidOnly\": false}, {\"title\": \"3Sum\", \"titleSlug\": \"3sum\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u4e09\\u6570\\u4e4b\\u548c\", \"isPaidOnly\": false}, {\"title\": \"4Sum II\", \"titleSlug\": \"4sum-ii\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u56db\\u6570\\u76f8\\u52a0 II\", \"isPaidOnly\": false}]",
|
||||
@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"532.4K\", \"totalSubmission\": \"1.5M\", \"totalAcceptedRaw\": 532411, \"totalSubmissionRaw\": 1451550, \"acRate\": \"36.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"532.5K\", \"totalSubmission\": \"1.5M\", \"totalAcceptedRaw\": 532510, \"totalSubmissionRaw\": 1451808, \"acRate\": \"36.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"19.8K\", \"totalSubmission\": \"61.7K\", \"totalAcceptedRaw\": 19821, \"totalSubmissionRaw\": 61674, \"acRate\": \"32.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"19.8K\", \"totalSubmission\": \"61.7K\", \"totalAcceptedRaw\": 19825, \"totalSubmissionRaw\": 61680, \"acRate\": \"32.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"31.9K\", \"totalSubmission\": \"48.3K\", \"totalAcceptedRaw\": 31880, \"totalSubmissionRaw\": 48289, \"acRate\": \"66.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"31.9K\", \"totalSubmission\": \"48.3K\", \"totalAcceptedRaw\": 31880, \"totalSubmissionRaw\": 48291, \"acRate\": \"66.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"6.2K\", \"totalSubmission\": \"8K\", \"totalAcceptedRaw\": 6181, \"totalSubmissionRaw\": 7985, \"acRate\": \"77.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"6.2K\", \"totalSubmission\": \"8K\", \"totalAcceptedRaw\": 6182, \"totalSubmissionRaw\": 7987, \"acRate\": \"77.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"28.9K\", \"totalSubmission\": \"57.6K\", \"totalAcceptedRaw\": 28898, \"totalSubmissionRaw\": 57554, \"acRate\": \"50.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"28.9K\", \"totalSubmission\": \"57.6K\", \"totalAcceptedRaw\": 28902, \"totalSubmissionRaw\": 57560, \"acRate\": \"50.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"12.8K\", \"totalSubmission\": \"18.4K\", \"totalAcceptedRaw\": 12796, \"totalSubmissionRaw\": 18434, \"acRate\": \"69.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"12.8K\", \"totalSubmission\": \"18.4K\", \"totalAcceptedRaw\": 12797, \"totalSubmissionRaw\": 18435, \"acRate\": \"69.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"43.5K\", \"totalSubmission\": \"70.3K\", \"totalAcceptedRaw\": 43549, \"totalSubmissionRaw\": 70277, \"acRate\": \"62.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"43.6K\", \"totalSubmission\": \"70.3K\", \"totalAcceptedRaw\": 43566, \"totalSubmissionRaw\": 70295, \"acRate\": \"62.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"22K\", \"totalSubmission\": \"63.3K\", \"totalAcceptedRaw\": 21959, \"totalSubmissionRaw\": 63308, \"acRate\": \"34.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"22K\", \"totalSubmission\": \"63.3K\", \"totalAcceptedRaw\": 21960, \"totalSubmissionRaw\": 63316, \"acRate\": \"34.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"27.5K\", \"totalSubmission\": \"39.8K\", \"totalAcceptedRaw\": 27535, \"totalSubmissionRaw\": 39819, \"acRate\": \"69.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"27.5K\", \"totalSubmission\": \"39.8K\", \"totalAcceptedRaw\": 27538, \"totalSubmissionRaw\": 39823, \"acRate\": \"69.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"31.8K\", \"totalSubmission\": \"58K\", \"totalAcceptedRaw\": 31778, \"totalSubmissionRaw\": 57951, \"acRate\": \"54.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"31.8K\", \"totalSubmission\": \"58K\", \"totalAcceptedRaw\": 31780, \"totalSubmissionRaw\": 57956, \"acRate\": \"54.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"43.1K\", \"totalSubmission\": \"78.6K\", \"totalAcceptedRaw\": 43103, \"totalSubmissionRaw\": 78633, \"acRate\": \"54.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"43.1K\", \"totalSubmission\": \"78.6K\", \"totalAcceptedRaw\": 43105, \"totalSubmissionRaw\": 78635, \"acRate\": \"54.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"69.6K\", \"totalSubmission\": \"98.4K\", \"totalAcceptedRaw\": 69589, \"totalSubmissionRaw\": 98443, \"acRate\": \"70.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"69.6K\", \"totalSubmission\": \"98.5K\", \"totalAcceptedRaw\": 69596, \"totalSubmissionRaw\": 98450, \"acRate\": \"70.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"16.4K\", \"totalSubmission\": \"28.7K\", \"totalAcceptedRaw\": 16367, \"totalSubmissionRaw\": 28738, \"acRate\": \"57.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"16.4K\", \"totalSubmission\": \"28.7K\", \"totalAcceptedRaw\": 16368, \"totalSubmissionRaw\": 28740, \"acRate\": \"57.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"32.7K\", \"totalSubmission\": \"54.6K\", \"totalAcceptedRaw\": 32705, \"totalSubmissionRaw\": 54551, \"acRate\": \"60.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"32.7K\", \"totalSubmission\": \"54.6K\", \"totalAcceptedRaw\": 32715, \"totalSubmissionRaw\": 54570, \"acRate\": \"60.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"42.8K\", \"totalSubmission\": \"59.7K\", \"totalAcceptedRaw\": 42754, \"totalSubmissionRaw\": 59749, \"acRate\": \"71.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"42.8K\", \"totalSubmission\": \"59.8K\", \"totalAcceptedRaw\": 42760, \"totalSubmissionRaw\": 59765, \"acRate\": \"71.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"30K\", \"totalSubmission\": \"36.8K\", \"totalAcceptedRaw\": 30032, \"totalSubmissionRaw\": 36799, \"acRate\": \"81.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"30K\", \"totalSubmission\": \"36.8K\", \"totalAcceptedRaw\": 30033, \"totalSubmissionRaw\": 36800, \"acRate\": \"81.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"31.9K\", \"totalSubmission\": \"37.7K\", \"totalAcceptedRaw\": 31894, \"totalSubmissionRaw\": 37674, \"acRate\": \"84.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"31.9K\", \"totalSubmission\": \"37.7K\", \"totalAcceptedRaw\": 31900, \"totalSubmissionRaw\": 37681, \"acRate\": \"84.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"18K\", \"totalSubmission\": \"37.6K\", \"totalAcceptedRaw\": 17992, \"totalSubmissionRaw\": 37574, \"acRate\": \"47.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"18K\", \"totalSubmission\": \"37.6K\", \"totalAcceptedRaw\": 17993, \"totalSubmissionRaw\": 37575, \"acRate\": \"47.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给定一个三角形 <code>triangle</code> ,找出自顶向下的最小路径和。</p>\n\n<p>每一步只能移动到下一行中相邻的结点上。<strong>相邻的结点 </strong>在这里指的是 <strong>下标</strong> 与 <strong>上一层结点下标</strong> 相同或者等于 <strong>上一层结点下标 + 1</strong> 的两个结点。也就是说,如果正位于当前行的下标 <code>i</code> ,那么下一步可以移动到下一行的下标 <code>i</code> 或 <code>i + 1</code> 。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>triangle = [[2],[3,4],[6,5,7],[4,1,8,3]]\n<strong>输出:</strong>11\n<strong>解释:</strong>如下面简图所示:\n <strong>2</strong>\n <strong>3</strong> 4\n 6 <strong>5</strong> 7\n4 <strong>1</strong> 8 3\n自顶向下的最小路径和为 11(即,2 + 3 + 5 + 1 = 11)。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>triangle = [[-10]]\n<strong>输出:</strong>-10\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= triangle.length <= 200</code></li>\n\t<li><code>triangle[0].length == 1</code></li>\n\t<li><code>triangle[i].length == triangle[i - 1].length + 1</code></li>\n\t<li><code>-10<sup>4</sup> <= triangle[i][j] <= 10<sup>4</sup></code></li>\n</ul>\n\n<p> </p>\n\n<p><strong>进阶:</strong></p>\n\n<ul>\n\t<li>你可以只使用 <code>O(n)</code> 的额外空间(<code>n</code> 为三角形的总行数)来解决这个问题吗?</li>\n</ul>\n\n<p> </p>\n\n<p><meta charset=\"UTF-8\" />注意:本题与主站 120 题相同: <a href=\"https://leetcode-cn.com/problems/triangle/\">https://leetcode-cn.com/problems/triangle/</a></p>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 43,
|
||||
"likes": 44,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"23.5K\", \"totalSubmission\": \"31.7K\", \"totalAcceptedRaw\": 23467, \"totalSubmissionRaw\": 31712, \"acRate\": \"74.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"23.5K\", \"totalSubmission\": \"31.7K\", \"totalAcceptedRaw\": 23470, \"totalSubmissionRaw\": 31715, \"acRate\": \"74.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"49.7K\", \"totalSubmission\": \"64.3K\", \"totalAcceptedRaw\": 49679, \"totalSubmissionRaw\": 64253, \"acRate\": \"77.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"49.7K\", \"totalSubmission\": \"64.3K\", \"totalAcceptedRaw\": 49688, \"totalSubmissionRaw\": 64263, \"acRate\": \"77.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"61.3K\", \"totalSubmission\": \"114.1K\", \"totalAcceptedRaw\": 61278, \"totalSubmissionRaw\": 114125, \"acRate\": \"53.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"61.3K\", \"totalSubmission\": \"114.1K\", \"totalAcceptedRaw\": 61294, \"totalSubmissionRaw\": 114149, \"acRate\": \"53.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"15K\", \"totalSubmission\": \"28K\", \"totalAcceptedRaw\": 15035, \"totalSubmissionRaw\": 28034, \"acRate\": \"53.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"15K\", \"totalSubmission\": \"28K\", \"totalAcceptedRaw\": 15040, \"totalSubmissionRaw\": 28042, \"acRate\": \"53.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"1.3K\", \"totalSubmission\": \"3.2K\", \"totalAcceptedRaw\": 1312, \"totalSubmissionRaw\": 3234, \"acRate\": \"40.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"1.3K\", \"totalSubmission\": \"3.2K\", \"totalAcceptedRaw\": 1313, \"totalSubmissionRaw\": 3235, \"acRate\": \"40.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"46.9K\", \"totalSubmission\": \"71.4K\", \"totalAcceptedRaw\": 46896, \"totalSubmissionRaw\": 71419, \"acRate\": \"65.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"46.9K\", \"totalSubmission\": \"71.4K\", \"totalAcceptedRaw\": 46904, \"totalSubmissionRaw\": 71432, \"acRate\": \"65.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"34.2K\", \"totalSubmission\": \"43.3K\", \"totalAcceptedRaw\": 34210, \"totalSubmissionRaw\": 43317, \"acRate\": \"79.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"34.2K\", \"totalSubmission\": \"43.3K\", \"totalAcceptedRaw\": 34216, \"totalSubmissionRaw\": 43324, \"acRate\": \"79.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"34.6K\", \"totalSubmission\": \"68K\", \"totalAcceptedRaw\": 34598, \"totalSubmissionRaw\": 67961, \"acRate\": \"50.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"34.6K\", \"totalSubmission\": \"68K\", \"totalAcceptedRaw\": 34601, \"totalSubmissionRaw\": 67964, \"acRate\": \"50.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -144,7 +144,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"23.2K\", \"totalSubmission\": \"30.8K\", \"totalAcceptedRaw\": 23182, \"totalSubmissionRaw\": 30774, \"acRate\": \"75.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"23.2K\", \"totalSubmission\": \"30.8K\", \"totalAcceptedRaw\": 23186, \"totalSubmissionRaw\": 30778, \"acRate\": \"75.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"47.5K\", \"totalSubmission\": \"92.6K\", \"totalAcceptedRaw\": 47483, \"totalSubmissionRaw\": 92579, \"acRate\": \"51.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"47.5K\", \"totalSubmission\": \"92.6K\", \"totalAcceptedRaw\": 47488, \"totalSubmissionRaw\": 92586, \"acRate\": \"51.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"34.7K\", \"totalSubmission\": \"71.3K\", \"totalAcceptedRaw\": 34739, \"totalSubmissionRaw\": 71296, \"acRate\": \"48.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"34.7K\", \"totalSubmission\": \"71.3K\", \"totalAcceptedRaw\": 34744, \"totalSubmissionRaw\": 71313, \"acRate\": \"48.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"28.4K\", \"totalSubmission\": \"57.9K\", \"totalAcceptedRaw\": 28446, \"totalSubmissionRaw\": 57948, \"acRate\": \"49.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"28.4K\", \"totalSubmission\": \"58K\", \"totalAcceptedRaw\": 28449, \"totalSubmissionRaw\": 57954, \"acRate\": \"49.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"33.9K\", \"totalSubmission\": \"46.2K\", \"totalAcceptedRaw\": 33864, \"totalSubmissionRaw\": 46206, \"acRate\": \"73.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"33.9K\", \"totalSubmission\": \"46.2K\", \"totalAcceptedRaw\": 33867, \"totalSubmissionRaw\": 46209, \"acRate\": \"73.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"24.6K\", \"totalSubmission\": \"39.3K\", \"totalAcceptedRaw\": 24584, \"totalSubmissionRaw\": 39316, \"acRate\": \"62.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"24.6K\", \"totalSubmission\": \"39.3K\", \"totalAcceptedRaw\": 24586, \"totalSubmissionRaw\": 39318, \"acRate\": \"62.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"37.6K\", \"totalSubmission\": \"54.6K\", \"totalAcceptedRaw\": 37601, \"totalSubmissionRaw\": 54614, \"acRate\": \"68.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"37.6K\", \"totalSubmission\": \"54.6K\", \"totalAcceptedRaw\": 37602, \"totalSubmissionRaw\": 54615, \"acRate\": \"68.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"29.9K\", \"totalSubmission\": \"53.9K\", \"totalAcceptedRaw\": 29852, \"totalSubmissionRaw\": 53854, \"acRate\": \"55.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"29.9K\", \"totalSubmission\": \"53.9K\", \"totalAcceptedRaw\": 29858, \"totalSubmissionRaw\": 53861, \"acRate\": \"55.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -144,7 +144,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"35.3K\", \"totalSubmission\": \"56.1K\", \"totalAcceptedRaw\": 35329, \"totalSubmissionRaw\": 56057, \"acRate\": \"63.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"35.3K\", \"totalSubmission\": \"56.1K\", \"totalAcceptedRaw\": 35331, \"totalSubmissionRaw\": 56062, \"acRate\": \"63.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"19.1K\", \"totalSubmission\": \"32.7K\", \"totalAcceptedRaw\": 19094, \"totalSubmissionRaw\": 32656, \"acRate\": \"58.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"19.1K\", \"totalSubmission\": \"32.7K\", \"totalAcceptedRaw\": 19095, \"totalSubmissionRaw\": 32657, \"acRate\": \"58.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"22.6K\", \"totalSubmission\": \"46.8K\", \"totalAcceptedRaw\": 22629, \"totalSubmissionRaw\": 46849, \"acRate\": \"48.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"22.6K\", \"totalSubmission\": \"46.9K\", \"totalAcceptedRaw\": 22637, \"totalSubmissionRaw\": 46861, \"acRate\": \"48.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"16.9K\", \"totalSubmission\": \"29.8K\", \"totalAcceptedRaw\": 16875, \"totalSubmissionRaw\": 29826, \"acRate\": \"56.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"16.9K\", \"totalSubmission\": \"29.8K\", \"totalAcceptedRaw\": 16877, \"totalSubmissionRaw\": 29828, \"acRate\": \"56.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"25.4K\", \"totalSubmission\": \"33.8K\", \"totalAcceptedRaw\": 25440, \"totalSubmissionRaw\": 33753, \"acRate\": \"75.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"25.4K\", \"totalSubmission\": \"33.8K\", \"totalAcceptedRaw\": 25441, \"totalSubmissionRaw\": 33754, \"acRate\": \"75.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -186,7 +186,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"4.5K\", \"totalSubmission\": \"15.3K\", \"totalAcceptedRaw\": 4546, \"totalSubmissionRaw\": 15348, \"acRate\": \"29.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"4.5K\", \"totalSubmission\": \"15.4K\", \"totalAcceptedRaw\": 4547, \"totalSubmissionRaw\": 15352, \"acRate\": \"29.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"58K\", \"totalSubmission\": \"135K\", \"totalAcceptedRaw\": 58048, \"totalSubmissionRaw\": 134964, \"acRate\": \"43.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"58.1K\", \"totalSubmission\": \"135K\", \"totalAcceptedRaw\": 58051, \"totalSubmissionRaw\": 134969, \"acRate\": \"43.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -126,7 +126,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"27.7K\", \"totalSubmission\": \"46.1K\", \"totalAcceptedRaw\": 27707, \"totalSubmissionRaw\": 46056, \"acRate\": \"60.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"27.7K\", \"totalSubmission\": \"46.1K\", \"totalAcceptedRaw\": 27708, \"totalSubmissionRaw\": 46057, \"acRate\": \"60.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"41K\", \"totalSubmission\": \"90.3K\", \"totalAcceptedRaw\": 41014, \"totalSubmissionRaw\": 90345, \"acRate\": \"45.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"41K\", \"totalSubmission\": \"90.4K\", \"totalAcceptedRaw\": 41017, \"totalSubmissionRaw\": 90354, \"acRate\": \"45.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"59K\", \"totalSubmission\": \"107.9K\", \"totalAcceptedRaw\": 59004, \"totalSubmissionRaw\": 107935, \"acRate\": \"54.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"59K\", \"totalSubmission\": \"107.9K\", \"totalAcceptedRaw\": 59013, \"totalSubmissionRaw\": 107944, \"acRate\": \"54.7%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -131,7 +131,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.5K\", \"totalSubmission\": \"39.8K\", \"totalAcceptedRaw\": 8451, \"totalSubmissionRaw\": 39772, \"acRate\": \"21.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.5K\", \"totalSubmission\": \"39.8K\", \"totalAcceptedRaw\": 8452, \"totalSubmissionRaw\": 39773, \"acRate\": \"21.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>以数组 <code>intervals</code> 表示若干个区间的集合,其中单个区间为 <code>intervals[i] = [start<sub>i</sub>, end<sub>i</sub>]</code> 。请你合并所有重叠的区间,并返回一个不重叠的区间数组,该数组需恰好覆盖输入中的所有区间。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>intervals = [[1,3],[2,6],[8,10],[15,18]]\n<strong>输出:</strong>[[1,6],[8,10],[15,18]]\n<strong>解释:</strong>区间 [1,3] 和 [2,6] 重叠, 将它们合并为 [1,6].\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>intervals = [[1,4],[4,5]]\n<strong>输出:</strong>[[1,5]]\n<strong>解释:</strong>区间 [1,4] 和 [4,5] 可被视为重叠区间。</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= intervals.length <= 10<sup>4</sup></code></li>\n\t<li><code>intervals[i].length == 2</code></li>\n\t<li><code>0 <= start<sub>i</sub> <= end<sub>i</sub> <= 10<sup>4</sup></code></li>\n</ul>\n\n<p> </p>\n\n<p><meta charset=\"UTF-8\" />注意:本题与主站 56 题相同: <a href=\"https://leetcode-cn.com/problems/merge-intervals/\">https://leetcode-cn.com/problems/merge-intervals/</a></p>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 64,
|
||||
"likes": 65,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"32.5K\", \"totalSubmission\": \"57.9K\", \"totalAcceptedRaw\": 32474, \"totalSubmissionRaw\": 57916, \"acRate\": \"56.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"32.5K\", \"totalSubmission\": \"57.9K\", \"totalAcceptedRaw\": 32481, \"totalSubmissionRaw\": 57930, \"acRate\": \"56.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"35K\", \"totalSubmission\": \"41.3K\", \"totalAcceptedRaw\": 34966, \"totalSubmissionRaw\": 41254, \"acRate\": \"84.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"35K\", \"totalSubmission\": \"41.3K\", \"totalAcceptedRaw\": 34975, \"totalSubmissionRaw\": 41266, \"acRate\": \"84.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"6K\", \"totalSubmission\": \"12.5K\", \"totalAcceptedRaw\": 6017, \"totalSubmissionRaw\": 12474, \"acRate\": \"48.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"6K\", \"totalSubmission\": \"12.5K\", \"totalAcceptedRaw\": 6018, \"totalSubmissionRaw\": 12475, \"acRate\": \"48.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"117.8K\", \"totalSubmission\": \"157.3K\", \"totalAcceptedRaw\": 117834, \"totalSubmissionRaw\": 157306, \"acRate\": \"74.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"117.9K\", \"totalSubmission\": \"157.4K\", \"totalAcceptedRaw\": 117869, \"totalSubmissionRaw\": 157361, \"acRate\": \"74.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"17.3K\", \"totalSubmission\": \"28.4K\", \"totalAcceptedRaw\": 17344, \"totalSubmissionRaw\": 28393, \"acRate\": \"61.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"17.3K\", \"totalSubmission\": \"28.4K\", \"totalAcceptedRaw\": 17344, \"totalSubmissionRaw\": 28394, \"acRate\": \"61.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"22.1K\", \"totalSubmission\": \"31.1K\", \"totalAcceptedRaw\": 22059, \"totalSubmissionRaw\": 31067, \"acRate\": \"71.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"22.1K\", \"totalSubmission\": \"31.1K\", \"totalAcceptedRaw\": 22060, \"totalSubmissionRaw\": 31068, \"acRate\": \"71.0%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"38K\", \"totalSubmission\": \"61.8K\", \"totalAcceptedRaw\": 37971, \"totalSubmissionRaw\": 61828, \"acRate\": \"61.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"38K\", \"totalSubmission\": \"61.8K\", \"totalAcceptedRaw\": 37975, \"totalSubmissionRaw\": 61832, \"acRate\": \"61.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"34.3K\", \"totalSubmission\": \"40.6K\", \"totalAcceptedRaw\": 34258, \"totalSubmissionRaw\": 40589, \"acRate\": \"84.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"34.3K\", \"totalSubmission\": \"40.6K\", \"totalAcceptedRaw\": 34266, \"totalSubmissionRaw\": 40598, \"acRate\": \"84.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"68.1K\", \"totalSubmission\": \"96.2K\", \"totalAcceptedRaw\": 68057, \"totalSubmissionRaw\": 96169, \"acRate\": \"70.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"68.1K\", \"totalSubmission\": \"96.2K\", \"totalAcceptedRaw\": 68062, \"totalSubmissionRaw\": 96175, \"acRate\": \"70.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"32.3K\", \"totalSubmission\": \"42.8K\", \"totalAcceptedRaw\": 32263, \"totalSubmissionRaw\": 42848, \"acRate\": \"75.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"32.3K\", \"totalSubmission\": \"42.9K\", \"totalAcceptedRaw\": 32265, \"totalSubmissionRaw\": 42852, \"acRate\": \"75.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -162,7 +162,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"30.7K\", \"totalSubmission\": \"43.7K\", \"totalAcceptedRaw\": 30716, \"totalSubmissionRaw\": 43724, \"acRate\": \"70.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"30.7K\", \"totalSubmission\": \"43.7K\", \"totalAcceptedRaw\": 30719, \"totalSubmissionRaw\": 43730, \"acRate\": \"70.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"29.6K\", \"totalSubmission\": \"60.7K\", \"totalAcceptedRaw\": 29619, \"totalSubmissionRaw\": 60677, \"acRate\": \"48.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"29.6K\", \"totalSubmission\": \"60.7K\", \"totalAcceptedRaw\": 29619, \"totalSubmissionRaw\": 60686, \"acRate\": \"48.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"10.2K\", \"totalSubmission\": \"15.9K\", \"totalAcceptedRaw\": 10249, \"totalSubmissionRaw\": 15927, \"acRate\": \"64.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"10.3K\", \"totalSubmission\": \"15.9K\", \"totalAcceptedRaw\": 10252, \"totalSubmissionRaw\": 15930, \"acRate\": \"64.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"32.9K\", \"totalSubmission\": \"72.8K\", \"totalAcceptedRaw\": 32857, \"totalSubmissionRaw\": 72794, \"acRate\": \"45.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"32.9K\", \"totalSubmission\": \"72.8K\", \"totalAcceptedRaw\": 32857, \"totalSubmissionRaw\": 72797, \"acRate\": \"45.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"47.9K\", \"totalSubmission\": \"93.3K\", \"totalAcceptedRaw\": 47919, \"totalSubmissionRaw\": 93263, \"acRate\": \"51.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"47.9K\", \"totalSubmission\": \"93.3K\", \"totalAcceptedRaw\": 47924, \"totalSubmissionRaw\": 93269, \"acRate\": \"51.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -156,7 +156,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"23K\", \"totalSubmission\": \"40.8K\", \"totalAcceptedRaw\": 22989, \"totalSubmissionRaw\": 40791, \"acRate\": \"56.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"23K\", \"totalSubmission\": \"40.8K\", \"totalAcceptedRaw\": 22990, \"totalSubmissionRaw\": 40792, \"acRate\": \"56.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"31.8K\", \"totalSubmission\": \"39.7K\", \"totalAcceptedRaw\": 31848, \"totalSubmissionRaw\": 39739, \"acRate\": \"80.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"31.9K\", \"totalSubmission\": \"39.7K\", \"totalAcceptedRaw\": 31852, \"totalSubmissionRaw\": 39744, \"acRate\": \"80.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -168,7 +168,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"33.9K\", \"totalSubmission\": \"49K\", \"totalAcceptedRaw\": 33858, \"totalSubmissionRaw\": 48968, \"acRate\": \"69.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"33.9K\", \"totalSubmission\": \"49K\", \"totalAcceptedRaw\": 33859, \"totalSubmissionRaw\": 48969, \"acRate\": \"69.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -150,7 +150,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"51.2K\", \"totalSubmission\": \"96.5K\", \"totalAcceptedRaw\": 51231, \"totalSubmissionRaw\": 96512, \"acRate\": \"53.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"51.2K\", \"totalSubmission\": \"96.5K\", \"totalAcceptedRaw\": 51234, \"totalSubmissionRaw\": 96520, \"acRate\": \"53.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"2.5K\", \"totalSubmission\": \"3.3K\", \"totalAcceptedRaw\": 2501, \"totalSubmissionRaw\": 3280, \"acRate\": \"76.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.5K\", \"totalSubmission\": \"3.3K\", \"totalAcceptedRaw\": 2502, \"totalSubmissionRaw\": 3281, \"acRate\": \"76.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"2.3K\", \"totalSubmission\": \"2.9K\", \"totalAcceptedRaw\": 2286, \"totalSubmissionRaw\": 2886, \"acRate\": \"79.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.3K\", \"totalSubmission\": \"2.9K\", \"totalAcceptedRaw\": 2287, \"totalSubmissionRaw\": 2888, \"acRate\": \"79.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"14.5K\", \"totalSubmission\": \"21.5K\", \"totalAcceptedRaw\": 14546, \"totalSubmissionRaw\": 21510, \"acRate\": \"67.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"14.5K\", \"totalSubmission\": \"21.5K\", \"totalAcceptedRaw\": 14547, \"totalSubmissionRaw\": 21511, \"acRate\": \"67.6%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -58,7 +58,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"13.4K\", \"totalSubmission\": \"36.3K\", \"totalAcceptedRaw\": 13430, \"totalSubmissionRaw\": 36349, \"acRate\": \"36.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"13.4K\", \"totalSubmission\": \"36.4K\", \"totalAcceptedRaw\": 13431, \"totalSubmissionRaw\": 36350, \"acRate\": \"36.9%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"13.6K\", \"totalSubmission\": \"17.1K\", \"totalAcceptedRaw\": 13562, \"totalSubmissionRaw\": 17120, \"acRate\": \"79.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"13.6K\", \"totalSubmission\": \"17.1K\", \"totalAcceptedRaw\": 13566, \"totalSubmissionRaw\": 17124, \"acRate\": \"79.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"4.3K\", \"totalSubmission\": \"6.6K\", \"totalAcceptedRaw\": 4308, \"totalSubmissionRaw\": 6589, \"acRate\": \"65.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"4.3K\", \"totalSubmission\": \"6.6K\", \"totalAcceptedRaw\": 4310, \"totalSubmissionRaw\": 6598, \"acRate\": \"65.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -40,7 +40,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"2.8K\", \"totalSubmission\": \"6.8K\", \"totalAcceptedRaw\": 2840, \"totalSubmissionRaw\": 6771, \"acRate\": \"41.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.8K\", \"totalSubmission\": \"6.8K\", \"totalAcceptedRaw\": 2846, \"totalSubmissionRaw\": 6782, \"acRate\": \"42.0%\"}",
|
||||
"hints": [
|
||||
"Let's find for every user separately the websites he visited.",
|
||||
"Consider all possible 3-sequences, find the number of distinct users who visited each of them.",
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"14.9K\", \"totalSubmission\": \"17.9K\", \"totalAcceptedRaw\": 14916, \"totalSubmissionRaw\": 17893, \"acRate\": \"83.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"14.9K\", \"totalSubmission\": \"17.9K\", \"totalAcceptedRaw\": 14922, \"totalSubmissionRaw\": 17900, \"acRate\": \"83.4%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -34,7 +34,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"3.7K\", \"totalSubmission\": \"6.9K\", \"totalAcceptedRaw\": 3707, \"totalSubmissionRaw\": 6865, \"acRate\": \"54.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"3.7K\", \"totalSubmission\": \"6.9K\", \"totalAcceptedRaw\": 3709, \"totalSubmissionRaw\": 6867, \"acRate\": \"54.0%\"}",
|
||||
"hints": [
|
||||
"Try to simulate the process.",
|
||||
"For every iteration, find the new array using the old one and the given rules."
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"11.1K\", \"totalSubmission\": \"25K\", \"totalAcceptedRaw\": 11078, \"totalSubmissionRaw\": 25035, \"acRate\": \"44.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"11.1K\", \"totalSubmission\": \"25K\", \"totalAcceptedRaw\": 11080, \"totalSubmissionRaw\": 25038, \"acRate\": \"44.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
@ -28,7 +28,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"11.2K\", \"totalSubmission\": \"26.4K\", \"totalAcceptedRaw\": 11169, \"totalSubmissionRaw\": 26377, \"acRate\": \"42.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"11.2K\", \"totalSubmission\": \"26.4K\", \"totalAcceptedRaw\": 11170, \"totalSubmissionRaw\": 26380, \"acRate\": \"42.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user