One simple hint


#1

xor of two same number is zero.


#2

That was really helpful thanks man


#3

also XOR of a number with 0 is number itself.


#4

Thanks!! that was helpful :slight_smile:


#5

Life-saver hint. Thanks a lot!