/**
* @param {number[]} nums
* @return {number}
*/
var singleNumber = function(nums) {
let ans = 0
for (const num of nums) {
ans ^= num
}
return ans
};
ๆฌข่ฟ้่ฟใ้ฎไปถใๆ่
็นๅปใ่ฟ้ใๅ่ฏๆไฝ ็ๆณๆณ
Welcome to tell me your thoughts via "email" or click "here"