Feedback Order of anagram-equivalent words is your choice 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Assignment #8, due Thursday 30 November, end of day (Mike O'Donnell)
Re: Question Order of anagram-equivalent words (Chris Hudzik)
Date: 2000, Nov 20
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

The problem doesn't specify the relative order of anagram-equivalent words, such as art and tar. You may let them come out in whatever arbitrary order the sorting algorithm gives them. Or, if you want to be fancier, you can put them in alphabetical order. The elegant way to do this will be to code a single ordering function that uses the anagram-canonical form first, then uses alphabetical order on the original words to break ties.



Mike O'D.


to: "Order of anagram-equivalent words is your choice"