Back to QuestionsPractice with This Question
Design a Word Dictionary with Wildcards
108.5K views•Asked at Uber•
Hard
Question Explain
Design a data structure that supports adding words and searching for words. The search query can contain the dot '.' wildcard character, which matches any one letter. Use a Trie and Backtracking/DFS.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.