mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 16:31:42 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"31K\", \"totalSubmission\": \"38.8K\", \"totalAcceptedRaw\": 31047, \"totalSubmissionRaw\": 38784, \"acRate\": \"80.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"31.1K\", \"totalSubmission\": \"38.8K\", \"totalAcceptedRaw\": 31103, \"totalSubmissionRaw\": 38845, \"acRate\": \"80.1%\"}",
|
||||
"hints": [
|
||||
"Consider keeping a frequency array that stores the count of occurrences of each number till index i.",
|
||||
"If a number occurred two times, it means it occurred in both A and B since they’re both permutations so add one to the answer."
|
||||
|
Reference in New Issue
Block a user