@ -0,0 +1,7 @@
func xorOperation(n int, start int) int {
res := 0
for i:=0; i<n; i++ {
res ^= start + 2 * i
}
return res