摘要:
题目: Design a data structure that supports the following two operations: search(word) can search a literal word or a regular expression string containi 阅读全文
摘要:
题目: Implement a trie with insert, search, and startsWith methods. 链接: http://leetcode.com/problems/implement-trie-prefix-tree/ 7/14/201760%,照着课件代码改写的。 阅读全文
摘要:
题目: There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course 0 you ha 阅读全文