标签:
Given an array of numbers nums
, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once.
For example:
Given nums = [1, 2, 1, 3, 2, 5]
, return [3, 5]
.
Note:
[5, 3]
is also correct.
这道题
[LeetCode] Single Number III 单独的数字之三
标签:
原文地址:http://www.cnblogs.com/grandyang/p/4741122.html