Driver code
str1 = " aa " NEW_LINE str2 = " ab " NEW_LINE len1 = len ( str1 ) NEW_LINE len2 = len ( str2 ) NEW_LINE find_permutation ( str1 , str2 , len1 , len2 , 0 , 0 , " " ) NEW_LINE print_set ( ) NEW_LINE