  In this paper, a method to generate permutations of a string under a set of
constraints decided by the user is presented. The required permutations are
generated without generating all the permutations.
