In a code, each letter shifts 2 places forward in the alphabet (A→C, B→D…)
In a code, each letter shifts 2 places forward in the alphabet (A→C, B→D...). Coding "WY", Disha thinks the rule breaks down at Y, since only Z is left after Y, not 2 letters. Her brother says there is a clean answer for this too — the alphabet wraps back around to A once it ends. Who is right?
Who do you think is right? Pick one.
The answer: Her brother is right, Y becomes A — "WY" becomes "YA"
Why
Disha noticed something genuinely true — Z is the last letter, so counting 2 forward from Y by simply running out of letters does feel like it should break. But the alphabet, in these coding puzzles, is treated as a loop rather than a dead end: after Z comes A again, exactly like a clock face wrapping from 12 back to 1. Counting it out: W shifts 2 to Y (W→X→Y), and Y shifts 2 by continuing the same count — Y→Z is one step, then Z wraps around to A for the second step, landing on A. Test it: the same wrap-around logic makes X shift 2 to Z (X→Y→Z, no wrap needed) and confirms the pattern holds right up to the edge before it. Her brother is right: the alphabet wraps back to A after Z, so 'WY' becomes 'YA' — a rule does not have to break just because it reaches the end of a list, if wrapping around is part of how the rule works.
On Socho, you explain your thinking out loud and a coach asks about YOUR reasoning — one question a day, free, in Hindi, Hinglish or English.
Try a question on Socho →More disagreements in Coding-Decoding