Problem 61022. The Case of the Missing Prototype – Decode the Secret Note Found on the Desk to Reveal a Hidden Message

On the lab desk, you discover a short note filled with strange letters.
After examining it, you realize it’s written in a Caesar cipher, where each letter was shifted two positions forward in the alphabet.
To decode it, you must shift each letter two positions backward.
Assume the message only contains lowercase English letters and wraps around ('a' becomes 'y', 'b' becomes 'z').
Write a function that returns the decoded message string.

Solution Stats

87.5% Correct | 12.5% Incorrect
Last Solution submitted on Oct 23, 2025

Solution Comments

Show comments

Problem Recent Solvers7

Suggested Problems

More from this Author22

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!