Let's say we have a trie that has the following words in it already .
If we add the following words, how many nodes will be added to the trie?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
For "hose", nodes 's' and 'e' are added, since 'h' and 'o' are already presented (1. home; 2. house).
For "belt", node 't' is added, since "bel" is already presented (3. belated).
For "heal", node 'l' is added, since "hea" is already presented (4.heated).