|
In problem 1, is says, "I showed how to "explode" a word, presented as a string, into a list of characters." Is there code for this anywhere?
Does the output of anasort list the strings as they are originally entered, but in anagram order? For example, if the list of words are, ["cat", "tar", "art", "rat", "act"], the sorted order of these anagrams is, ["act", "cat", "art", "rat", "tar"]. In other words, it takes what the string's anagram-canonical form is, compares it to another string's anagram-canonical form, and then sorts the two strings, still in their original form, according to their anagram-canonical form. Is there code for implode, or once we have explode, we will be able to write implode?
|
Untitled by C. Donour Sizemore, 2000, Nov 26
explode and implode are built in to SMF by Mike O'Donnell, 2000, Nov 26
order of strings by Michael C. Brizic, 2000, Nov 26
cat before art, rat and art don't matter by Mike O'Donnell, 2000, Nov 26
to: