my code is showing -1 as the output
Max xor subarray
Hello @ankit152
Here is the modified code
You need to push the xor’s of the prefix elements in the trie and NOT the elements themselves.
Let me know if you need any help.
thank you for the help. i understood where i was doing the mistake.