| 7 | class Solution { |
| 8 | public: |
| 9 | int singleNumber(vector<int>& nums) { |
| 10 | int a=0, b=0; |
| 11 | for(int num: nums) { |
| 12 | a = b & (a^num); |
| 13 | b = a | (b^num); |
| 14 | } |
| 15 | return b; |
| 16 | } |
| 17 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected