mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"37.7K\", \"totalSubmission\": \"90.2K\", \"totalAcceptedRaw\": 37718, \"totalSubmissionRaw\": 90239, \"acRate\": \"41.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"37.7K\", \"totalSubmission\": \"90.2K\", \"totalAcceptedRaw\": 37720, \"totalSubmissionRaw\": 90241, \"acRate\": \"41.8%\"}",
|
||||
"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