mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-24 14:28:56 +08:00
update
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"18.5K\", \"totalSubmission\": \"43K\", \"totalAcceptedRaw\": 18496, \"totalSubmissionRaw\": 43016, \"acRate\": \"43.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"18.5K\", \"totalSubmission\": \"43.1K\", \"totalAcceptedRaw\": 18539, \"totalSubmissionRaw\": 43130, \"acRate\": \"43.0%\"}",
|
||||
"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