mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"17K\", \"totalSubmission\": \"41K\", \"totalAcceptedRaw\": 16991, \"totalSubmissionRaw\": 40960, \"acRate\": \"41.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"17K\", \"totalSubmission\": \"41K\", \"totalAcceptedRaw\": 17001, \"totalSubmissionRaw\": 40974, \"acRate\": \"41.5%\"}",
|
||||
"hints": [
|
||||
"The problem asks to change the array nums to make it sorted (i.e., all the 1s are on the left of 2s, and all the 2s are on the left of 3s.).",
|
||||
"We can try all the possibilities to make nums indices range in [0, i) to 0 and [i, j) to 1 and [j, n) to 2. Note the ranges are left-close and right-open; each might be empty. Namely, 0 <= i <= j <= n.",
|
||||
|
Reference in New Issue
Block a user