Anonymous user
State name puzzle: Difference between revisions
m
added whitespace.
Alextretyak (talk | contribs) (Added 11l) |
m (added whitespace.) |
||
Line 13:
A second challenge in the form of a set of fictitious new states was also presented.
;Task:
Write a program to solve the challenge using both the original list of states and the fictitious list.
;Caveats:
* case and spacing aren't significant - just letters (harmonize case)
* don't expect the names to be in any order - such as being sorted
* don't rely on names to be unique (eliminate duplicates - meaning if Iowa appears twice you can only use it once)
Comma separated list of state names used in the original puzzle:
<pre>
"Alabama", "Alaska", "Arizona", "Arkansas",
"California", "Colorado", "Connecticut", "Delaware",
"Florida", "Georgia", "Hawaii", "Idaho", "Illinois",
"
"
"
"
"
"
"
"
"Washington", "West Virginia", "Wisconsin", "Wyoming"▼
▲ "Washington", "West Virginia", "Wisconsin", "Wyoming"
</pre>
Comma separated list of additional fictitious state names to be added to the original (Includes a duplicate):
<pre>
"New Kory", "Wen Kory", "York New", "Kory New", "New Kory"
</pre>
<br><br>
=={{header|11l}}==
|