Single Number Solutions in GoNumber 136Difficulty EasyAcceptance 65.6%Link LeetCodeOther languages C++, PythonSolutionsGo solution by halfrost/LeetCode-Gopackage leetcode func singleNumber(nums []int) int { result := 0 for i := 0; i < len(nums); i++ { result ^= nums[i] } return result}package leetcode func singleNumber(nums []int) int { result := 0 for i := 0; i < len(nums); i++ { result ^= nums[i] } return result }