原文链接: https://leetcode-cn.com/problems/replace-words
英文原文In English, we have a concept called root, which can be follo
标签详情
字典树 分类
原文链接: https://leetcode-cn.com/problems/implement-magic-dictionary
英文原文Design a data structure that is initialized with
原文链接: https://leetcode-cn.com/problems/map-sum-pairs
英文原文Design a map that allows you to do the following:
Maps
原文链接: https://leetcode-cn.com/problems/top-k-frequent-words
英文原文Given an array of strings words and an integer k, retu
原文链接: https://leetcode-cn.com/problems/longest-word-in-dictionary
英文原文Given an array of strings words representing an
原文链接: https://leetcode-cn.com/problems/prefix-and-suffix-search
英文原文Design a special dictionary with some words that s
原文链接: https://leetcode-cn.com/problems/short-encoding-of-words
英文原文A valid encoding of an array of words is any refere
原文链接: https://leetcode-cn.com/problems/stream-of-characters
英文原文Design an algorithm that accepts a stream of character
原文链接: https://leetcode-cn.com/problems/distinct-echo-substrings
英文原文Return the number of distinct non-empty substrings
原文链接: https://leetcode-cn.com/problems/number-of-valid-words-for-each-puzzle
英文原文With respect to a given puzzle string