![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
ithiker
"All problems in computer science can be solved by another level of indirection."
展开
-
LeetCode ---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 the value (will always be positive) of the key if the原创 2015-07-24 16:14:42 · 681 阅读 · 0 评论 -
leetcode UTF-8 Validation
UTF-8 Validation A character in UTF8 can be from 1 to 4 bytes long, subjected to the following rules: For 1-byte character, the first bit is a 0, followed by its unicode code.For n-bytes chara原创 2017-02-28 22:56:21 · 446 阅读 · 0 评论