Find Strings with Duplicate Anagrams

You are given (n) non-empty strings consisting only of lowercase English letters. Two strings are anagrams if and only if the frequency of every letter is identical; identical strings are allowed.

...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: