Single Number II

Approach 1: Sum each bit then mod 3, the result is the value of that
bit in the final result(the single number)