Anagrams: Difference between revisions
Content deleted Content added
Alextretyak (talk | contribs) |
|||
Line 1,975:
=={{header|Elena}}==
ELENA
<lang elena>// Two or more words can be composed of the same characters, but in
<lang elena>import system'routines.▼
// a different order. Using the word list at
import system'io.▼
// http://www.puzzlers.org/pub/wordlists/unixdict.txt, find the sets of words
import system'collections.▼
// that share the same characters that contain the most words in them.
import extensions.▼
import extensions'routines.▼
import
extension op
{
= self
}
public program()
{
auto
File
var
var
if (nil ==
dictionary.Values
.sort
.top:20
.forEach:(pair){ console.printLine(pair.Item2) };
console
{{out}}
<pre>
|