Saturday, May 22, 2010

Maximum word made of other words.

write a program to find the longest word made of other
words. For instance, If my file has the following words (sorted):
test
tester
testertest
testing
testingtester

The longest word should be testingtester.




No comments:

Post a Comment