← Amazon questions

Count distinct decoded strings from a number mapping

Filed under Amazon

Given a string of digits, determine the number of ways to decode it into letters where '1'='A', '2'='B', ..., '26'='Z'.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.