crossword algorithm....
Posted
by teddy
on Stack Overflow
See other posts from Stack Overflow
or by teddy
Published on 2010-03-23T06:30:42Z
Indexed on
2010/03/23
6:33 UTC
Read the original article
Hit count: 545
I'm making algorithm like crossword,
but i dont know how to design d algorith.
for example,
there are words like 'car', 'apple' in the dictionary.
and the 'app' words is given on the board.
and there are letters like 'l' 'e' 'c' 'r'....for making words.
so the algorithm work is making correct words which are stored in dictionary.
app -> lapp-> leapp-> lecapp-> .... -> lappe -> eappc -> ... -> appl -> apple(correct answer)
what is the best solution for this algorithm?
© Stack Overflow or respective owner