Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Example #3

Jimmy

Feb 9, 2024

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.

1

0

Comments
Comments

On this page