Skip to content

Commit c215e16

Browse files
yanglbmeidoocs
authored andcommitted
style: format code and docs with prettier
1 parent 56d19a3 commit c215e16

File tree

1 file changed

+2
-2
lines changed
  • lcof/面试题56 - I. 数组中数字出现的次数

1 file changed

+2
-2
lines changed

lcof/面试题56 - I. 数组中数字出现的次数/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,15 @@ class Solution {
210210
for num in nums {
211211
xorSum ^= num
212212
}
213-
213+
214214
let lowBit = xorSum & -xorSum
215215
var a = 0
216216
for num in nums {
217217
if (num & lowBit) != 0 {
218218
a ^= num
219219
}
220220
}
221-
221+
222222
let b = xorSum ^ a
223223
return [a, b]
224224
}

0 commit comments

Comments
 (0)