Quote:
Originally Posted by Tolnaftate2004
Now I just need some inDictionary(word).
|
Just say that you've made this.wordlist a sorted array of all known words in the english dictionary. Then for inDictionary() do a binary search or something on that list.
Is that cheating? Although, it probably isn't very efficient in terms of the memory needed to hold such a list...