Thomson Reuters interview question

Remove duplicate Anagrams from Array