mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-24 22:38:57 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给定一个数组 <code>nums</code> ,如果 <code>i < j</code> 且 <code>nums[i] > 2*nums[j]</code> 我们就将 <code>(i, j)</code> 称作一个<strong><em>重要翻转对</em></strong>。</p>\n\n<p>你需要返回给定数组中的重要翻转对的数量。</p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入</strong>: [1,3,2,3,1]\n<strong>输出</strong>: 2\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入</strong>: [2,4,3,5,1]\n<strong>输出</strong>: 3\n</pre>\n\n<p><strong>注意:</strong></p>\n\n<ol>\n\t<li>给定数组的长度不会超过<code>50000</code>。</li>\n\t<li>输入数组中的所有数字都在32位整数的表示范围内。</li>\n</ol>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 342,
|
||||
"likes": 343,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Count of Smaller Numbers After Self\", \"titleSlug\": \"count-of-smaller-numbers-after-self\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u8ba1\\u7b97\\u53f3\\u4fa7\\u5c0f\\u4e8e\\u5f53\\u524d\\u5143\\u7d20\\u7684\\u4e2a\\u6570\"}, {\"title\": \"Count of Range Sum\", \"titleSlug\": \"count-of-range-sum\", \"difficulty\": \"Hard\", \"translatedTitle\": \"\\u533a\\u95f4\\u548c\\u7684\\u4e2a\\u6570\"}]",
|
||||
@@ -173,7 +173,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"29.4K\", \"totalSubmission\": \"83.7K\", \"totalAcceptedRaw\": 29387, \"totalSubmissionRaw\": 83741, \"acRate\": \"35.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"29.4K\", \"totalSubmission\": \"83.9K\", \"totalAcceptedRaw\": 29444, \"totalSubmissionRaw\": 83876, \"acRate\": \"35.1%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
||||
Reference in New Issue
Block a user