Compute All Mnemonics For A Phone Number (old)

Question: Each digit, apart from 0 and 1, in a phone keypad corresponds to one of three or four letters of the alphabet. Write a program which takes asinput a phone number (specified as a string of digits) and returns all possible character sequences that correspond to the phone number.

Table of Contents
Enroll in our 5-day mini coding interview class