[Purdue-pm] Possible February Challenge
Dave Jacoby
jacoby at purdue.edu
Tue Jan 19 12:54:40 PST 2010
Yes, MASLI would be illegal. You have to go to adjacent letters.
I used dictionaries found in the CERIAS FTP site.
[http://ftp.cerias.purdue.edu/pub/dict/] It has grown since the last I
downloaded. I'm trying my code with the words from Webster's Dictionary.
http://ftp.cerias.purdue.edu/pub/dict/dictionaries/English/Webster/
I know there's one winning word that is not within that dictionary, but
it's the most common in standard usage. Let's make that the official
word-list of this challenge.
Mark Senn wrote:
> > Take the phrase "Pre-Christmas Sale". Break it up into a 4x4 block.
> >
> > P R E C
> > H R I S
> > T M A S
> > S A L E
> >
> > The challenge was to find the longest word you can find within this
> > block. You can go up-down, left-right or diagonally. You cannot reuse
> > a letter, but you can "cross the stream". Meaning, if there was such a
> > word as "AESL", assuming "P" as element[0][0] of this array of arrays,
> > that would be [3,3], [4,4], [3,4], [4,3] (or vice versa, depending on
> > how you count) and perfectly legitimate. Basically, we're programming
> > the computer to play Boggle.
>
> Just want to make sure I understand what "crossing the stream" means.
>
> The sequence of letters MASLI would be illegal, right? -mark
--
Dave Jacoby Address: WSLR S049
Genomics Core Programmer Mail: jacoby at purdue.edu
Purdue University Jabber: jacoby at jabber.org
Phone: 765.49.67368
More information about the Purdue-pm
mailing list