Decode a Message
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
Letters are encoded as numbers, with A as one up to Z as twenty-six, and a message arrives as a string of digits. Count how many ways it can be decoded back into letters, and explain your recurrence and the tricky cases.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.