![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
Tovey
这个作者很懒,什么都没留下…
展开
-
LRU Cache --- LeetCode 面试题
题目原文: 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) o原创 2014-05-28 11:39:01 · 1163 阅读 · 0 评论 -
Max Points on a Line --- LeetCode 面试题
题目原文:Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.原创 2014-05-28 10:04:30 · 972 阅读 · 0 评论 -
Two Sum --- LeetCode 面试题
题目原文:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the ta原创 2014-05-27 17:33:39 · 799 阅读 · 0 评论