Skip to content
RED SAGSkills
easy5 pts · first answer countsgraphstries

When a trie beats a hash set

You need "does this exact word exist?" and also "how many words start with this prefix?". Why is a trie better than a hash set here?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions