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.
Example:
1 |
Input: [1,2,1,3,2,5] |
1 |
class { |
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.
Example:
1 |
Input: [1,2,1,3,2,5] |
1 |
class { |
近期评论