My code is not working for all the test cases. What’s the mistake?
XYZ encryption problem
@nayakashutosh99
consider this testcase
3 1
1 3
output should be “Yes” but your code is giving “No”. corresponding string is"xzx"
Ohh I thought the above mentioned conditions were must but according to you it seems either of them would be considered
Thank you very much!!!
1 Like