JavaScript algorithm to match words in a dictionary -


I have an array that has a few thousand words. I have an input field on my webpage that the user enters a few letters , And then press Search. When a user hits the search, the app should appear in the dictionary and see how words of supplied letters can be made. Each letter can be used only once (such as in Scrabble)

Is there a search library to do something like this? If not necessary then I do not want to change the wheel again. If not, then no one has any idea for a high performance solution. I imagine it has been done millions of times before.

John Ferris John Fem was thinking about this problem too:



Comments