Maximum Xor

  • + 1 comment

    if n=2, (0,3) and query value=2. then with your way 2(10) ^ 3(11) = 1 is max value than 2(10) ^ 0(00) = 2. how?