question 1
An empty trie puts in tree, trek and trim. How many places does it make?
the answer, and why
the answer is D
tree makes 4 places. trek follows t, r and e and makes k, 1 more. trim follows t and r and makes i and m, 2 more. That is 7.
if you chose another
- That is the visits, every letter followed or made.
- That is the letters followed, not the places made.
- That is one word's places; the later words make some too.