What is a Trie data structure, and why is it useful?
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Asks you to explain what a trie (prefix tree) is and why it is useful. Tests whether you can describe its node structure and end-of-word markers, give the cost of insert, search and prefix queries, and judge when it fits better than a hash table or a sorted array.