← Amazon questions

Phone keypad string decimal representation and sorting

Filed under Amazon

Given a phone keypad mapping (e.g., 'abc'->2, 'def'->3), convert a list of strings into their decimal representations. Sort the strings in descending order by their decimal value, maintaining original…

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.