Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 1124. String permutations on phone keyboard

Created by Mehmet OZC

Given a number such as 2639 return all possible string permutations using the phone-keyboard on Problem 1069.

input = 2639

output = {'amdw' 'amdx' 'amdy' ... 'andy' 'andz' ... 'body' 'bodz' ... 'cody' ... 'cofz'}

Problem Group

Solution Statistics

20 correct solutions 15 incorrect solutions
Last solution submitted on Nov 03, 2014

Solution Comments