langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
3
Task/Ordered-words/Mathematica/ordered-words-2.math
Normal file
3
Task/Ordered-words/Mathematica/ordered-words-2.math
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
maxWords[language_String] := Module[{max,data = Select[DictionaryLookup[{language, "*"}],OrderedQ[Characters[#]] &]},
|
||||
max = Max[StringLength /@ data];
|
||||
Select[data, StringLength[#] == max &]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue