归档 2017年12月11日

[LeetCode]Prefix and Suffix Search

题目描述:

LeetCode 745. Prefix and Suffix Search

Given many words, words[i] has weight i.

Design a class WordFilter that supports one function, WordFilter.f(String prefix, String suffix). It will return the word with given prefix and suffix with ...

继续阅读

昨天

明天

归档