Answers for "XOR"

15

XOR

0 | 0 | 0
 0 | 1 | 1
 1 | 0 | 1
 1 | 1 | 0
 ONLY ONE CAN BE TRUE
Posted by: Guest on December-07-2020
15

xor gate

XOR gate
0 0 = 0
1 0 = 1
0 1 = 1
1 1 = 0
Posted by: Guest on February-09-2021
1

example use xor in

const findOdd = (xs) => xs.reduce((a, b) => a ^ b);
// this is arrow function
Posted by: Guest on December-17-2020

Browse Popular Code Answers by Language