Pearson interview question

In a given string, find the anagram pairs.