Join
Blogs
Questions
Videos
Tags
Members
Search
 
 
Create your own blog, earn points and get popular!

Write a program [in any language] to find all 'humanly pronounceable' variations of a given word.

Write a program [in any language] to find all 'humanly pronounceable' variations of a given word.
  1. For the sake of simplicity, assume that every 'humanly pronounceable' word requires that every consonant should have atleast one vowel next to it.
  2. Each variation must contain all of the letters of the original word
Examples:

Input: abc
Output: bac, cab

Input: abce
Output: bace, cabe, beca, beac, ... [you get the picture]

Input: abcd
Output: [no results]  
No votes yet
Share this
0 answers