• Question

Question related to mission All Permutations

 

Hi, this is a good training for begginers like me. I have one question, in te extra solutions you put the string "aab" and the result is ["aab","aab","aba","aba","baa","baa"], but is a little redudant take 2 equal strings, the good answeres will be ["aab","aba","baa"].

Thanks.!