← All problemsSign in

Yet Another Mapping Problem

Consider the alphabets that are bidirectionally mapped to each other in the following manner - $A$ is mapped to $Z$. - $B$ is mapped to $Y$. - $C$ is mapped to $X$ and so on. Given two strings of equal length $N$, $S$(the original string) and $T$(the mapped string), check whether the mapping has been done correctly. Print $true$ if the mapping has been correctly executed, else print $false$. **N

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start