Design an enhanced trie that tracks repeated insertions, reporting how many times a word was inserted and how many stored words share a given prefix.
Loading content...