Recover an XOR of two unknowns

Three registers hold unknown integers xx, yy, zz. You are told only that x⊕y=6x \oplus y = 6 and x⊕z=10x \oplus z = 10 (all bitwise XOR, ⊕\oplus). What is y⊕zy \oplus z?

Show hints (2)+
  1. You can't recover xx from two equations in three unknowns - and you don't need to.
  2. (x⊕y)⊕(x⊕z)=y⊕z(x\oplus y)\oplus(x\oplus z) = y\oplus z since xx cancels; compute 6⊕106\oplus 10 in binary.

Answer

Reveal answer →

12

Want the full step-by-step worked solution? It's part of Premium - along with a worked solution for every question in the bank.

Asked at: Mixed Quant & Coding, Data-Driven Research

Related questions