Grokking 75: Top Coding Interview Questions
Vote

0% completed

​

Implement Trie (Prefix Tree) (medium)

.....

.....

.....

Like the course? Get enrolled and start learning!
A

Anonymous

· 3 years ago

In example #3, the trie operations should be:

["Trie", "insert", "search", "startsWith", "startsWith"]

instead of:

["Trie", "insert", "search", "search", "startsWith"]

"grap" is not a valid word in the trie.

Reading Progress

0%


Vote for new content