面试题56 - II
在一个数组 nums 中除一个数字只出现一次之外,其他数字都出现了三次。请找出那个只出现一次的数字。
限制:
1 <= nums.length <= 10000
1 <= nums[i] < 2^31
Solutions
bit operations
See
problem 137
for detailed explanation.
Or
Last updated
Was this helpful?
在一个数组 nums 中除一个数字只出现一次之外,其他数字都出现了三次。请找出那个只出现一次的数字。
1 <= nums.length <= 10000
1 <= nums[i] < 2^31
bit operations
See problem 137
for detailed explanation.
Or
Last updated
Was this helpful?