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

~90s

A shift that grows with position

If HOUSE is coded as IQXWJ, how is TABLE coded?

Show the answer and the worked solution

Correct answer: A.

UCEPJ

Worked solution

  1. The shifts run +1, +2, +3, +4, +5 by position.
  2. T + 1 = U, A + 2 = C, B + 3 = E, L + 4 = P, E + 5 = J.
  3. The code is UCEPJ.

Answer: UCEPJ.

The idea

When a constant shift fails, write the shift under each letter and look for a pattern in those numbers. Increasing shifts are the usual second guess.

Shortcut. With shifts of +1 to +5 by position, check only the letters where the options differ: T+1 = U, B+3 = E and E+5 = J. UCEPJ is the only option passing all three.

Common trap. "UCEPI" — reusing the fourth position's +4 on the fifth letter; the fifth shift is +5, so E becomes J, not I.

A shift that grows with position — Aptitude Question

A shift that grows with position: If HOUSE is coded as IQXWJ, how is TABLE coded? Answer and worked solution on CodeKairo.

Question

If HOUSE is coded as IQXWJ, how is TABLE coded?

Options

  1. UCEPJ
  2. UCEPI
  3. UCDPJ
  4. VCEPJ
Show the answer and the worked solution

Correct answer: A. UCEPJ

Worked solution

  1. The shifts run +1, +2, +3, +4, +5 by position.
  2. T + 1 = U, A + 2 = C, B + 3 = E, L + 4 = P, E + 5 = J.
  3. The code is UCEPJ.

Answer: UCEPJ.

The idea

When a constant shift fails, write the shift under each letter and look for a pattern in those numbers. Increasing shifts are the usual second guess.

Shortcut. With shifts of +1 to +5 by position, check only the letters where the options differ: T+1 = U, B+3 = E and E+5 = J. UCEPJ is the only option passing all three.

Common trap. "UCEPI" — reusing the fourth position's +4 on the fifth letter; the fifth shift is +5, so E becomes J, not I.

All Coding & Decoding questions · placement mock tests