One test case failed in XOR -4

My one test case is failed, rest are correct and my time complexity also follows the constraint.

@sourav1999
your logic is correct but there is slight mistake in your code while print “NO”. You haven’t printed “NO”, you have printed “N0” ( N zero ). Please correct it. Your code will work fine