摘要: 原题链接在这里:https://leetcode.com/problems/longest-consecutive-sequence/ 题目: Given an unsorted array of integers, find the length of the longest consecutiv 阅读全文
posted @ 2015-10-18 08:03 Dylan_Java_NYC 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/implement-trie-prefix-tree/ 题目: Implement a trie with insert, search, and startsWith methods. Note:You may assum 阅读全文
posted @ 2015-10-18 07:14 Dylan_Java_NYC 阅读(527) 评论(0) 推荐(0) 编辑