Maximum xor subarray (what is wrong in my code)

Hey @Saksham12
It was a simple brute force question. You just need to take all subarrays and then find its XOR. Simple N^2 solution.

Try that once. If your doubt is resolved please mark it as closed.