mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"320K\", \"totalSubmission\": \"868.1K\", \"totalAcceptedRaw\": 320001, \"totalSubmissionRaw\": 868147, \"acRate\": \"36.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"320K\", \"totalSubmission\": \"868.2K\", \"totalAcceptedRaw\": 320039, \"totalSubmissionRaw\": 868237, \"acRate\": \"36.9%\"}",
|
||||
"hints": [
|
||||
"Loop from i = 0 to arr.length, maintaining in a hashTable the array elements from [0, i - 1].",
|
||||
"On each step of the loop check if we have seen the element 2 * arr[i] so far or arr[i] / 2 was seen if arr[i] % 2 == 0."
|
||||
|
Reference in New Issue
Block a user