mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 08:21:41 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>编写一个函数,不用临时变量,直接交换<code>numbers = [a, b]</code>中<code>a</code>与<code>b</code>的值。</p>\n\n<p><strong>示例:</strong></p>\n\n<pre>\n<strong>输入:</strong> numbers = [1,2]\n<strong>输出:</strong> [2,1]\n</pre>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>numbers.length == 2</code></li>\n\t<li><code>-2147483647 <= numbers[i] <= 2147483647</code></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 66,
|
||||
"likes": 67,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"29.3K\", \"totalSubmission\": \"35.5K\", \"totalAcceptedRaw\": 29282, \"totalSubmissionRaw\": 35468, \"acRate\": \"82.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"30K\", \"totalSubmission\": \"36.3K\", \"totalAcceptedRaw\": 29960, \"totalSubmissionRaw\": 36301, \"acRate\": \"82.5%\"}",
|
||||
"hints": [
|
||||
"尝试在数轴上画出a和b两个数字。",
|
||||
"定义diff为a和b之间的差。你能以某种方式使用diff吗?那么你能去掉这个临时变量吗?",
|
||||
|
Reference in New Issue
Block a user