Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.
标签:异或
【Leetcode】#136 Single Number
Given an array of integers, every element appears twice except for one. Find that single one.
学而不思则罔,思而不学则殆。
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.
Given an array of integers, every element appears twice except for one. Find that single one.