Design Add and Search Words Data Structure
Design a word dictionary supporting word insertion and searches in which a dot may match any single letter.
Design a word dictionary supporting word insertion and searches in which a dot may match any single letter.