Skip to content

Commit 827515e

Browse files
authored
Update 1835-find-xor-sum-of-all-pairs-bitwise-and.js
1 parent 1aba007 commit 827515e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

1835-find-xor-sum-of-all-pairs-bitwise-and.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// On every bit XOR acts as modulo 2 addition and AND acts as modulo 2 multiplication.
2+
// The set {0,1} with modulo 2 addition and multiplication is the field GF(2) and the distributive property holds in every field.
3+
14
/**
25
* @param {number[]} arr1
36
* @param {number[]} arr2

0 commit comments

Comments
 (0)