[Leetcode 211, Medium] Add and Search Word - Data structure design

Problem:node Design a data structure that supports the following two operations:express void addWord(word) bool search(word) search(word) can search a literal word or a regular expression string cont
相关文章
相关标签/搜索