![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
trie
Vendredimatin
这个作者很懒,什么都没留下…
展开
-
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 horizo...原创 2020-02-15 12:37:41 · 101 阅读 · 0 评论 -
Leetcode 208. Implement Trie (Prefix Tree)
Implement a trie with insert, search, and startsWith methods. Example: Trie trie = new Trie(); trie.insert(“apple”); trie.search(“apple”); // returns true trie.search(“app”); // returns false tr...原创 2020-02-15 12:32:21 · 99 阅读 · 0 评论