Looking for a final word...
From a certain English word, I would like to know how many steps, which is the minimum number of elementary operations, I will have to make so as to come to the last word which has been predefined. Each time I make a move, there is only one character in the sequence being allowed to change. To be more concrete, for instance, I have a term called cooler, first I will have to try changing it into fooler, and then foller, again feller, one more time fellor, and finally fellow which is the final word I am looking for, and I have already made five moves after all.
Could you give me your ideas, advice, comments etc, on how to accomplish this ? Please help...
Thank you very much...
Nina.
Thank you very much mwilliamson, Paul, Bassman...
I am studying about "classic" sorting, searching, this is my assignment, I have to hand it in on 15th of August. Quite long from now on...but I think it is not an easy problem for me,so I now make questions and try to search for some explanations about it....
My professor said there was two problems for me to choose: anagram and this one. I thought if I chose anagram, I would get stuck with database which I have just started learning for around two months...I dont think I can design or program anything related to it...
But now, Bassman's explanation makes me more embarrassed... I am afraid that I willnot be able to make it on time...
Moreover, it is of certain that the words chosen have to be valid in meaning, which is also what my teachers told me again today. I once thought it was fine if those words could turn out wrong in meanings, so I made myself such an example...
Besides using graph theory and Dij algorithm, do you know anything other algorithms that could be of use for me to pull this through ? I am really very worried... Could you help ?
Thank you very much...
Regards,
Nina.