Interview Guides
Implement a prefix tree (Trie) that stores lowercase menu items or command strings and supports real-time autocomplete. Design a function that first inserts all words from a list, then returns up to k lexicographically sorted suggestions that start with a given prefix. The function should return an empty list if no stored word matches the prefix.
1 <= len(words) <= 10^41 <= len(words[i]) <= 300 <= len(prefix) <= 301 <= k <= 100words are unique