
Trie
永远的EMT
每天时刻保持超越自我的意识
展开
-
【LeetCode】212. Word Search II
Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horiz...原创 2018-11-10 19:00:07 · 167 阅读 · 0 评论 -
【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 lette...原创 2018-11-11 00:56:04 · 206 阅读 · 0 评论