I have a doubt regarding maximum XOR subarray. Do we really need to implements this using Tries?
Because I tried implementing using cummulative xor but I am getting incorrect output.
Please take a look
Maximum XOR subarray
hello @div_yanshu07
both the approaches will work ,but the trie solution is bit efficient .
here handle the case when start=0 seprately . becuase in that case u cannot acces start-1 index (it will be -1).