Docusign interview question

Q: find duplicate permutations in a string