
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 · 729 阅读 · 0 评论 -
leetcode UTF-8 Validation
UTF-8 ValidationA 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 · 501 阅读 · 0 评论