I want to say that is is self learning.
We have two integers. I want to get a third element that it is equal to XOR between the two integers, but with the constraint. OK, let me give an example to be more clear.
int x is, let's say, is 10 `x = 10 //Binary 1010` and `int y = 9 //Binary 1001`
int t = x^y, where ^ is an operator that is defined as described below.
But the first bit in x
should be XORed with the second bit of y
and be stored as first bit in t
and the second bit in x
XORed with the first bit in y and stored in the second bit in t and so on.
The result should thus be:
t = x^y = 1100
I hope you understand the problem. If not, I will try to clarify.