mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 1738,
|
||||
"likes": 1739,
|
||||
"dislikes": 191,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Arithmetic Slices\", \"titleSlug\": \"arithmetic-slices\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Can Make Arithmetic Progression From Sequence\", \"titleSlug\": \"can-make-arithmetic-progression-from-sequence\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"126.1K\", \"totalSubmission\": \"150.1K\", \"totalAcceptedRaw\": 126126, \"totalSubmissionRaw\": 150143, \"acRate\": \"84.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"126.1K\", \"totalSubmission\": \"150.2K\", \"totalAcceptedRaw\": 126148, \"totalSubmissionRaw\": 150167, \"acRate\": \"84.0%\"}",
|
||||
"hints": [
|
||||
"To check if a given sequence is arithmetic, just check that the difference between every two consecutive elements is the same.",
|
||||
"If and only if a set of numbers can make an arithmetic sequence, then its sorted version makes an arithmetic sequence. So to check a set of numbers, sort it, and check if that sequence is arithmetic.",
|
||||
|
Reference in New Issue
Block a user