public static void main(String args[]) {
        StringPermutation sp = new StringPermutation();
        sp.permute("AABC".toCharArray()).forEach(s -> System.out.println(s));
    }
Date 01/29/2016
@author Tushar Roy

Generate all permutations of string in lexicographically sorted order where repetitions of
character is possible in string.
src/com/interview/recursion/StringPermutation.java