leetcode 211. Add and Search Word - Data structure design 字典树的简单应用

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