Hello! I am stuck and I was hoping someone here could help me. I have this text file of around 55000 words. What I want to do is find, for each word, as much words as can possibly be made by deleting or arranging the letters in that word.
A solution I was thinking is to parse the string and assign each letter to a char variable. Then arrange these characters in every possible way and compare the newly created words to my database to see if they exist. My problem is I do not know how to arrange these letters in every possible way. How can you do this? and if you have another solution please feel free to tell me.