AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Hardreverseletter shift

~150s

Reversed, then shifted

If COMPUTER is written as RFUVQNPC, how is MEDICINE written?

Show the answer and the worked solution

Correct answer: A.

EOJDJEFM

Worked solution

  1. Reverse COMPUTER to get RETUPMOC.
  2. Against RFUVQNPC: the first and last letters stay, and every letter between moves +1.
  3. Reverse MEDICINE to get ENICIDEM.
  4. Keep E and M, and add one to the rest: E, O, J, D, J, E, F, M.
  5. The code is EOJDJEFM.

Answer: EOJDJEFM.

The idea

When no shift fits, reverse the word and compare again. Two-step codes almost always combine a reversal with a small shift.

Shortcut. The code must start with MEDICINE's last letter (E) and end with its first (M), which removes MFEJDJOF and EOJDJEFN. Of the two left, the fifth letter of the reversed word is I, so its code is J.

Common trap. "MFEJDJOF" — applying the +1 shift but forgetting the reversal; RFUVQNPC begins with COMPUTER's last letter R, so the code must begin with MEDICINE's last letter E.

Reversed, then shifted — Coding & Decoding Aptitude Question

Reversed, then shifted: If COMPUTER is written as RFUVQNPC, how is MEDICINE written? Answer and worked solution on CodeKairo.

Question

If COMPUTER is written as RFUVQNPC, how is MEDICINE written?

Options

  1. EOJDJEFM
  2. EOJDJEFN
  3. MFEJDJOF
  4. EOJDIEFM
Show the answer and the worked solution

Correct answer: A. EOJDJEFM

Worked solution

  1. Reverse COMPUTER to get RETUPMOC.
  2. Against RFUVQNPC: the first and last letters stay, and every letter between moves +1.
  3. Reverse MEDICINE to get ENICIDEM.
  4. Keep E and M, and add one to the rest: E, O, J, D, J, E, F, M.
  5. The code is EOJDJEFM.

Answer: EOJDJEFM.

The idea

When no shift fits, reverse the word and compare again. Two-step codes almost always combine a reversal with a small shift.

Shortcut. The code must start with MEDICINE's last letter (E) and end with its first (M), which removes MFEJDJOF and EOJDJEFN. Of the two left, the fifth letter of the reversed word is I, so its code is J.

Common trap. "MFEJDJOF" — applying the +1 shift but forgetting the reversal; RFUVQNPC begins with COMPUTER's last letter R, so the code must begin with MEDICINE's last letter E.

All Coding & Decoding questions · placement mock tests