Write an algorithm to solve word ladders such as
Word Meld 1 or
Word Meld 2. Input consists of the
starting and ending words and the maximum number of steps allowed. Available are files containing lists of
words of any given length; call one such file, say WORDS5.TXT containing a list of words of 5 letters each, and so on.
It's always good to define them unless it says explicitly in the problem that you have them in my opinion.
|
Posted by Gamer
on 2003-09-24 15:47:58 |