leetcode single number solution