PS5: Ghost
In order to determine whether the word fragment is a fragment of a valid word, I've implemented the following steps.
1) search the wordlist to determine the closest alphabetical match (this returns an index number).
2) run a brute force search +/- 50 around the index found in step 1 to determine if the fragment matches any real words.
for example, the index for 'quix' is 57415. I then run a brute force search around 57415 to determine if there are any matches.
does anyone have a more elegant solution?

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.