Alex Rivera | Logout

What is an easy way to tell if a list of words are anagrams of each other?

Asked 2009-02-06T20:52:31.703
9

How would you list words that are anagrams of each other?

I was asked this question when I applied for my current job.

orchestra can be rearranged into carthorse with all original letters used exactly once therefore the words are anagrams of each other.

Edit
Report

1 Answer

6

Sort each element (removing whitespace) and compare against the previous. If they are all the same, they're all anagrams.

answered 2009-02-06T20:54:51.230

Your Answer