Pearson Interview Question

In a given string, find the anagram pairs.