摘要: 题目: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get 阅读全文
posted @ 2017-05-15 08:26 panini 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Problem Given a 2D grid, each cell is either a wall 2, an house 1 or empty 0 (the number zero, one, two), find the place to build a post office, the d 阅读全文
posted @ 2017-05-15 02:32 panini 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 题目: Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, 阅读全文
posted @ 2017-05-15 00:06 panini 阅读(150) 评论(0) 推荐(0) 编辑