Privacy Policy Terms Of Use. Copyright © 2006-2010 Java Tutorials and Examples.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
- For the sake of simplicity, assume that every 'humanly pronounceable' word requires that every consonant should have atleast one vowel next to it.
- Each variation must contain all of the letters of the original word
Input: abc
Output: bac, cab
Input: abce
Output: bace, cabe, beca, beac, ... [you get the picture]
Input: abcd
Output: [no results]
