摘要:
https://leetcode.com/problems/insert-delete-getrandom-o1/#/description Design a data structure that supports all following operations in average O(1)
阅读全文
posted @ 2017-07-11 22:04
Premiumlab
阅读(110)
推荐(0)
摘要:
https://leetcode.com/problems/subsets-ii/#/description Given a collection of integers that might contain duplicates, nums, return all possible subsets
阅读全文
posted @ 2017-07-11 18:39
Premiumlab
阅读(109)
推荐(0)
摘要:
https://leetcode.com/problems/implement-trie-prefix-tree/#/description Implement a trie with insert, search, and startsWith methods. Note:You may assu
阅读全文
posted @ 2017-07-11 18:13
Premiumlab
阅读(111)
推荐(0)
摘要:
https://leetcode.com/problems/search-in-rotated-sorted-array/#/description Suppose an array sorted in ascending order is rotated at some pivot unknown
阅读全文
posted @ 2017-07-11 12:01
Premiumlab
阅读(131)
推荐(0)
摘要:
https://leetcode.com/problems/simplify-path/#/description Given an absolute path for a file (Unix-style), simplify it. For example,path = "/home/", =>
阅读全文
posted @ 2017-07-11 10:35
Premiumlab
阅读(134)
推荐(0)