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

~40s

A simple reversal

If WORLD is coded as DLROW, how is INDIA coded?

Show the answer and the worked solution

Correct answer: A.

AIDNI

Worked solution

  1. The code simply reverses the word.
  2. INDIA reversed is AIDNI.

Answer: AIDNI.

The idea

Always test a plain reversal before anything more elaborate. It is the simplest non-shift code and appears often.

Shortcut. A reversal ends with the original's first letter and puts the original's second letter fourth, so the code must end in N, I. Only AIDNI ends that way.

Common trap. "AIDIN" — reversing correctly until the last two letters and then writing them in INDIA's original order (I, N) instead of reversed (N, I).

A simple reversal — Coding & Decoding Aptitude Question

A simple reversal: If WORLD is coded as DLROW, how is INDIA coded? Answer and worked solution on CodeKairo.

Question

If WORLD is coded as DLROW, how is INDIA coded?

Options

  1. AIDNI
  2. AIDIN
  3. AINDI
  4. IDNIA
Show the answer and the worked solution

Correct answer: A. AIDNI

Worked solution

  1. The code simply reverses the word.
  2. INDIA reversed is AIDNI.

Answer: AIDNI.

The idea

Always test a plain reversal before anything more elaborate. It is the simplest non-shift code and appears often.

Shortcut. A reversal ends with the original's first letter and puts the original's second letter fourth, so the code must end in N, I. Only AIDNI ends that way.

Common trap. "AIDIN" — reversing correctly until the last two letters and then writing them in INDIA's original order (I, N) instead of reversed (N, I).

All Coding & Decoding questions · placement mock tests