We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d19a3 commit c215e16Copy full SHA for c215e16
lcof/面试题56 - I. 数组中数字出现的次数/README.md
@@ -210,15 +210,15 @@ class Solution {
210
for num in nums {
211
xorSum ^= num
212
}
213
-
+
214
let lowBit = xorSum & -xorSum
215
var a = 0
216
217
if (num & lowBit) != 0 {
218
a ^= num
219
220
221
222
let b = xorSum ^ a
223
return [a, b]
224
0 commit comments