标签归档:leetcode

RSS feed of leetcode

[LeetCode]Add and Search Word - Data structure design

题目描述:

Design a data structure that supports the following two operations:

void addWord(word)
bool search(word)

search(word) can search a literal word or a regular expression string containing only letters a-z or .. A . means it can represent any ...

继续阅读