This problem needs more test cases, and include the number 1 as well as complete phone numbers.
Amazing. It's a poem...
This solution which is leading solution is not correct when the input x is a single number. For example if x = 2 , you expect a,b,c instead you only return a
Thank you for your advice.
I correct it.
why the given result is in the format of cell,not char,why 'amdw'~='admw',which my matlab only give the latter,rather than the former one
1767 Solvers
Construct a string from letters and counts
129 Solvers
Convert a numerical matrix into a cell array of strings
469 Solvers
727 Solvers
262 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!