mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"27.7K\", \"totalSubmission\": \"44.1K\", \"totalAcceptedRaw\": 27728, \"totalSubmissionRaw\": 44150, \"acRate\": \"62.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"27.7K\", \"totalSubmission\": \"44.2K\", \"totalAcceptedRaw\": 27734, \"totalSubmissionRaw\": 44163, \"acRate\": \"62.8%\"}",
|
||||
"hints": [
|
||||
"Find the index of elements 1 and n.",
|
||||
"Let x be the position of 1 and y be the position of n. the answer is x + (n-y-1) if x < y and x + (n-y-1) - 1 if x > y."
|
||||
|
Reference in New Issue
Block a user