Single number problem on leetcode.