随笔分类 - Tries
摘要:212. Word Search II Given an m x n board of characters and a list of strings words, return all words on the board. Each word must be constructed from
阅读全文
摘要:211. Design Add and Search Words Data Structure Design a data structure that supports adding new words and finding if a string matches any previously
阅读全文
摘要:208. Implement Trie (Prefix Tree) A trie (pronounced as "try") or prefix tree is a tree data structure used to efficiently store and retrieve keys in
阅读全文