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 rearrang
orchestra
Sort the letters and compare (letter by letter, string compare, ...) is the first things that comes to mind.