mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 05:26:46 +08:00
update
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.7K\", \"totalSubmission\": \"11.4K\", \"totalAcceptedRaw\": 8655, \"totalSubmissionRaw\": 11424, \"acRate\": \"75.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.7K\", \"totalSubmission\": \"11.5K\", \"totalAcceptedRaw\": 8697, \"totalSubmissionRaw\": 11470, \"acRate\": \"75.8%\"}",
|
||||
"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