Maximum xor subarray


why is this not working

@Vibhuti0206
Try this testcase :
Input :
4
8 1 2 12

Expected Output :
15

Your Output :
14

what logic should be applied and my is notgeeting compiled