Gatito wrote:You don't have to post your code here ( but then again if it does not work it wouldn't be a big spoiler), on the other side I don't think it would be a problem describing how your algorithm works. Otherwise I doubt you could get help about your own method.
Just my wild guess are you using some kind of word permutation? If used incorrectly it could lead to some wasted time although I can't tell how much that would possibly be.
for i < wordSize
if position < width
recurse(width, position+1, baseString+jumbledWord[i],wordSize)
if f(wordlistword) == f(scrambledword):
Users browsing this forum: No registered users and 0 guests