LeetCode
风 先生
这个作者很懒,什么都没留下…
展开
-
solution of LeetCode 3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters.Examples:Given “abcabcbb”, the answer is “abc”, which the length is 3.Given “bbbbb”, the answer is “b”, with the le原创 2016-09-24 10:57:29 · 404 阅读 · 0 评论 -
solution of LeetCode:146 LRU Cache
LeetCode:LRU CacheDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get the value (will always be positive) o原创 2016-11-08 22:50:37 · 398 阅读 · 0 评论