Xor problem using bit manipulation


getting wrong ans
can you tell the approach of the problem

you can learn the complete approach and code from here Video Explanation

is your doubt resolved?

will i mark it as resolved??