leetcode single number II refactoring