How many distinct permutations does the string 'AABC' have? | Recursion and Backtracking question · AnyPrep