Caesar Cipher with Case Preservation

Asked at Amazon · Coding Questions · Difficulty: Easy · Last asked Jun 22, 2026

Implement a Caesar cipher that shifts each letter of a text by a fixed number of positions in the alphabet, keeping the case of every letter.

Loading the problem…