mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"3.7K\", \"totalSubmission\": \"8.6K\", \"totalAcceptedRaw\": 3698, \"totalSubmissionRaw\": 8646, \"acRate\": \"42.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"3.7K\", \"totalSubmission\": \"8.7K\", \"totalAcceptedRaw\": 3702, \"totalSubmissionRaw\": 8655, \"acRate\": \"42.8%\"}",
|
||||
"hints": [
|
||||
"How can we check which indices of <code>nums1</code> will be considered for swapping? How to minimize the number of such operations?",
|
||||
"It can be seen that greedily swapping values of indices where <code>nums1[i] == nums2[i]</code> is the most optimal choice. How many values cannot be swapped this way?",
|
||||
|
Reference in New Issue
Block a user