Give an example where a list or dict strains, and which structure fixes it.
Show worked solution
A strong answer names a real need (sorted+searchable / top-priority / prefix search) that lists or dicts handle poorly, and matches it to the structure (tree / heap / trie), citing the DS-101 principle that the right structure makes a slow operation fast.
Explain the BST rule and why it makes search fast, in your own words.
Show worked solution
Good answers state smaller-left/larger-right, explain that each comparison discards half the tree (like binary search, O(log n) balanced), and note in-order reading gives sorted values - plus the balance caveat.
Describe the four traversals and one use of each.
Show worked solution
Strong answers give in-order (sorted BST reading), pre-order (copy/serialise), post-order (delete/evaluate), level-order (breadth-first), and note the three depth-first ones differ only in when the node is visited.
Explain how a heap gives the top-priority item fast without full sorting.
Show worked solution
Good answers explain the parent-beats-children rule keeps the top at the root, push/pop are O(log n) via bubble-up/sink-down, and a heap does less than sorting - only the top is guaranteed - which is all a priority queue needs.
Explain how a trie makes prefix search / autocomplete fast.
Show worked solution
Strong answers describe storing words letter by letter so shared prefixes share a path, so prefix search walks to the prefix node and collects everything below - instant autocomplete, trading memory for fast prefix queries.