leetcode SingleNumber2 Solution