
最近
文章平均质量分 72
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 159. Longest Substring with At Most Two Distinct Characters(最长字串)
原题网址:https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters/ Given a string, find the length of the longest substring T that contains at most 2 distinct characters.原创 2016-05-26 00:54:39 · 594 阅读 · 0 评论 -
LeetCode 146. LRU Cache(LRU缓存)
原题网址:https://leetcode.com/problems/lru-cache/ Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get原创 2016-05-26 01:24:27 · 858 阅读 · 0 评论