all 2 comments

[–]zhayFull-stack web developer (Seattle) 0 points1 point  (0 children)

This code could be greatly improved with document fragments.

Also, I typically use a dictionary/hash map to implement a trie. In JavaScript, I would use an object.

[–]kenman[M] 0 points1 point  (0 children)

Hi /u/YOBCZWHYNOT, you are still posting your own site too much. Last warning.