Simply Hired Interview Question: Find permutations of all alph... | Glassdoor

Interview Question

Junior Software Engineer Interview Mountain View, CA

Find permutations of all alphabets in a given number eg

 : 1->abc, 2->def, and so on so i/p: 12 o/p: ad ae af bd be bf cd ce cf and now generalize for 10 digit number

Interview Answer

1 Answer


use the concept of string permutations for this one!

Interview Candidate on Dec 5, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.