Cody

# Problem 1124. String permutations on phone keyboard

Solution 178642

Submitted on 18 Dec 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Fail
%% x = 2639; y_correct = {'amdw';'amdx';'amdy';'amdz';'amew';'amex';'amey';'amez';'amfw';'amfx';'amfy';'amfz';'andw';'andx';'andy';'andz';'anew';'anex';'aney';'anez';'anfw';'anfx';'anfy';'anfz';'aodw';'aodx';'aody';'aodz';'aoew';'aoex';'aoey';'aoez';'aofw';'aofx';'aofy';'aofz';'bmdw';'bmdx';'bmdy';'bmdz';'bmew';'bmex';'bmey';'bmez';'bmfw';'bmfx';'bmfy';'bmfz';'bndw';'bndx';'bndy';'bndz';'bnew';'bnex';'bney';'bnez';'bnfw';'bnfx';'bnfy';'bnfz';'bodw';'bodx';'body';'bodz';'boew';'boex';'boey';'boez';'bofw';'bofx';'bofy';'bofz';'cmdw';'cmdx';'cmdy';'cmdz';'cmew';'cmex';'cmey';'cmez';'cmfw';'cmfx';'cmfy';'cmfz';'cndw';'cndx';'cndy';'cndz';'cnew';'cnex';'cney';'cnez';'cnfw';'cnfx';'cnfy';'cnfz';'codw';'codx';'cody';'codz';'coew';'coex';'coey';'coez';'cofw';'cofx';'cofy';'cofz';}; assert(isequal(string_perms(x),y_correct))

Error: License checkout failed. License Manager Error -5 Cannot find a license for Symbolic_Toolbox. Troubleshoot this issue by visiting: <a href="http://www.mathworks.com/support/lme/R2012b/5">http://www.mathworks.com/support/lme/R2012b/5</a> Diagnostic Information: Feature: Symbolic_Toolbox License path: 13501@10.206.97.41:13501@10.10.207.33:/tmp/matlabpref/.matlab/R2012b_licenses:/opt/mlsedu/matlab/R2012b/licenses/license.dat:/opt/mlsedu/matlab/R2012b/licenses Licensing error: -5,0.

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!