plzz check my code it is not givivng right output
Https://ide.codingblocks.com/s/268952
hello @Aditya-Kushwaha-914550392281281
a) to compute xor use this -> ^ (xor operator )
b) also compare ur prefixxor with maxsubarrayxor as well in each iteration
if prefixxor is greater than ur current maxsubarrayxor then update ur maxsubarrayxor
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.