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

~60s

If FRIEND is HTKGPF

If FRIEND is coded as HTKGPF, how is CANDLE coded?

Show the answer and the worked solution

Correct answer: A.

ECPFNG

Worked solution

  1. The shift is +2.
  2. C→E, A→C, N→P, D→F, L→N, E→G.
  3. The code is ECPFNG.

Answer: ECPFNG.

The idea

Once the shift is confirmed, work letter by letter and resist reading the result as a word. The options differ by one letter each.

Shortcut. Check only where the options differ: A+2 = C (second), N+2 = P (third), D+2 = F (fourth) and E+2 = G (last). ECPFNG passes every check.

Common trap. "ECPGNF" — every shift done correctly but F and G written in each other's places (fourth and sixth), a transcription slip that is easy to miss because the letters themselves are right.

Coding & Decoding

8 of 42

Level

Easy

Target time

~60s

If FRIEND is HTKGPF — Coding & Decoding Aptitude Question

If FRIEND is HTKGPF: If FRIEND is coded as HTKGPF, how is CANDLE coded? Answer and worked solution on CodeKairo.

Question

If FRIEND is coded as HTKGPF, how is CANDLE coded?

Options

  1. ECPFNG
  2. ECPGNF
  3. ECQFNG
  4. EDPFNG
Show the answer and the worked solution

Correct answer: A. ECPFNG

Worked solution

  1. The shift is +2.
  2. C→E, A→C, N→P, D→F, L→N, E→G.
  3. The code is ECPFNG.

Answer: ECPFNG.

The idea

Once the shift is confirmed, work letter by letter and resist reading the result as a word. The options differ by one letter each.

Shortcut. Check only where the options differ: A+2 = C (second), N+2 = P (third), D+2 = F (fourth) and E+2 = G (last). ECPFNG passes every check.

Common trap. "ECPGNF" — every shift done correctly but F and G written in each other's places (fourth and sixth), a transcription slip that is easy to miss because the letters themselves are right.

All Coding & Decoding questions · placement mock tests