← FactSet questions

Print pairs of anagrams in an array of strings

Filed under FactSet

Given an array of strings, identify and group or print all pairs (or groups) of strings that are anagrams of each other.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related FactSet questions

Collected from public candidate posts and coding forums. Updated Nov 2026.