摘要:
https://leetcode.com/problems/min-stack/#/solutions Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
阅读全文
posted @ 2017-06-10 20:56
Premiumlab
阅读(146)
推荐(0)
摘要:
https://leetcode.com/problems/valid-anagram/#/description Given two strings s and t, write a function to determine if t is an anagram of s. For exampl
阅读全文
posted @ 2017-06-10 17:33
Premiumlab
阅读(129)
推荐(0)
摘要:
https://leetcode.com/problems/find-all-anagrams-in-a-string/#/description Given a string s and a non-empty string p, find all the start indices of p's
阅读全文
posted @ 2017-06-10 10:45
Premiumlab
阅读(207)
推荐(0)