add Single Number II from leetcode