1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"7.2K\", \"totalSubmission\": \"18.3K\", \"totalAcceptedRaw\": 7153, \"totalSubmissionRaw\": 18304, \"acRate\": \"39.1%\"}",
"stats": "{\"totalAccepted\": \"7.2K\", \"totalSubmission\": \"18.3K\", \"totalAcceptedRaw\": 7154, \"totalSubmissionRaw\": 18305, \"acRate\": \"39.1%\"}",
"hints": [
"For each unique value found in the array, store a sorted list of indices of elements that have this value in the array.",
"One way of doing this is to use a HashMap that maps the values to their list of indices. Update this mapping as you iterate through the array.",