Can you please check the code why the test cases are not passing in this problem

@gunishmatta
Is this the complete code? Because here you have directly printed the value of (x ^ y) which is definitely incorrect. Please go through the question statement once again.