Given a number such as 2639 return all possible string permutations using the phone-keyboard on Problem 1069.
input = 78
output = {'pt';'pu';'pv';'qt';'qu';'qv';'rt';'ru';'rv';'st';'su';'sv'}
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Back to basics 23 - Triangular matrix
1148 Solvers
-
Number of 1s in a binary string
11571 Solvers
-
Calculate the Hamming distance between two strings
349 Solvers
-
334 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
873 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
This problem needs more test cases, and include the number 1 as well as complete phone numbers.
Test suite is updated with additional test cases.