Design Add and Search Words Data Structure
Try to solve the Design Add and Search Words Data Structure problem.
We'll cover the following...
Statement
Design a data structure called WordDictionary that supports the following functionalities:
-
Constructor: This function will initialize the object.
-
Add Word(word): This function will store the provided word in the data structure. ...