Problem 61035. The MATLAB Treasure Hunt – Decode the Ancient Script by Removing Strange Symbols from the Message

Emerging from the Maze of Numbers, you find a tablet etched with symbols and letters — an Ancient Script!
The message is hidden among strange symbols. To uncover it, you must keep only alphabetic characters and remove everything else.
Given a string or character array s, return a new string decoded containing only the letters (A–Z, a–z).
Each decoded message brings you closer to the final treasure!

Solution Stats

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

Solution Comments

Show comments