Please tell me whats the error in this code
Please tell me whats the error in this code
@KetanPandey
According to your submissions i can see that you have got full score for this.
if it is not done then please share the ide link of your.
If its solved now, then please mark this doubt as resolved.
@KetanPandey
you just have to take xor of all the numbers and then taken extract last set bit from xor value.
Then take all the elements with that set bit as set , then take xor of them in one variable and rest in another variable.
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.