SingleNumberII updated with alternative solution