In this range xor question when range is given 1-4 and number is 6. How come the output is 10? I don’t understand the question.
Ranger Xor from hashing
hello @div_yanshu07
1- 4 is not the value , it is index.
so u need to pick values from index [1 …4] such that its val xor with given value is maximised