摘要: 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 adja 阅读全文
posted @ 2017-07-23 04:13 白天黑夜每日c 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac 阅读全文
posted @ 2017-07-23 04:12 白天黑夜每日c 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Design a data structure that supports the following two operations: search(word) can search a literal word or a regular expression string containing o 阅读全文
posted @ 2017-07-23 04:11 白天黑夜每日c 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Implement a trie with insert, search, and startsWith methods. Note:You may assume that all inputs are consist of lowercase letters a-z. Implement a tr 阅读全文
posted @ 2017-07-23 04:10 白天黑夜每日c 阅读(150) 评论(0) 推荐(0) 编辑