mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 13:36:46 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>对于某些固定的 <code>N</code>,如果数组 <code>A</code> 是整数 <code>1, 2, ..., N</code> 组成的排列,使得:</p>\n\n<p>对于每个 <code>i < j</code>,都<strong>不存在</strong> <code>k</code> 满足 <code>i < k < j</code> 使得 <code>A[k] * 2 = A[i] + A[j]</code>。</p>\n\n<p>那么数组 <code>A</code> 是漂亮数组。</p>\n\n<p> </p>\n\n<p>给定 <code>N</code>,返回<strong>任意</strong>漂亮数组 <code>A</code>(保证存在一个)。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre><strong>输入:</strong>4\n<strong>输出:</strong>[2,1,4,3]\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre><strong>输入:</strong>5\n<strong>输出:</strong>[3,1,2,5,4]</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= N <= 1000</code></li>\n</ul>\n\n<p> </p>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 170,
|
||||
"likes": 172,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"10.1K\", \"totalSubmission\": \"15.7K\", \"totalAcceptedRaw\": 10054, \"totalSubmissionRaw\": 15662, \"acRate\": \"64.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"10.3K\", \"totalSubmission\": \"16K\", \"totalAcceptedRaw\": 10283, \"totalSubmissionRaw\": 16018, \"acRate\": \"64.2%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
Reference in New Issue
Block a user