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

~60s

If DELHI is CDKGH

If DELHI is coded as CDKGH, how is MUMBAI coded?

Show the answer and the worked solution

Correct answer: A.

LTLAZH

Worked solution

  1. The shift is −1.
  2. M→L, U→T, M→L, B→A, A→Z, I→H.
  3. The code is LTLAZH.

Answer: LTLAZH.

The idea

A wraps round to Z when shifting back by one. Handling that wrap correctly is what separates the right option from the others.

Shortcut. U−1 = T, A−1 = Z and I−1 = H separate the options: LTLAZH is the only one with T, Z and H in place, and NVNCBJ, the +1 code, goes first.

Common trap. "NVNCBJ" — applying the shift in the wrong direction; DELHI → CDKGH moves each letter back one place, so M becomes L, not N.

Coding & Decoding

10 of 42

Level

Easy

Target time

~60s

If DELHI is CDKGH — Coding & Decoding Aptitude Question

If DELHI is CDKGH: If DELHI is coded as CDKGH, how is MUMBAI coded? Answer and worked solution on CodeKairo.

Question

If DELHI is coded as CDKGH, how is MUMBAI coded?

Options

  1. LTLAZH
  2. LTLAZI
  3. LULAZH
  4. NVNCBJ
Show the answer and the worked solution

Correct answer: A. LTLAZH

Worked solution

  1. The shift is −1.
  2. M→L, U→T, M→L, B→A, A→Z, I→H.
  3. The code is LTLAZH.

Answer: LTLAZH.

The idea

A wraps round to Z when shifting back by one. Handling that wrap correctly is what separates the right option from the others.

Shortcut. U−1 = T, A−1 = Z and I−1 = H separate the options: LTLAZH is the only one with T, Z and H in place, and NVNCBJ, the +1 code, goes first.

Common trap. "NVNCBJ" — applying the shift in the wrong direction; DELHI → CDKGH moves each letter back one place, so M becomes L, not N.

All Coding & Decoding questions · placement mock tests