- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 C++编程学习之LeetCode OJ
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) o
2014-06-30 14:52:00 475
原创 C++编程学习之LeetCode OJ
Insertion Sort List : Sort a linked list using insertion sort.
2014-06-26 14:15:26 488
原创 C++编程学习之LeetCode OJ
Sort List: Sort a linked list in O(n log n) time using constant space complexity. 参考:http://blog.csdn.net/jiadebin890724/article/details/21334059 http://blog.csdn.net/worldwindjp/article/details/18
2014-06-25 18:30:56 457
原创 C++编程学习之LeetCode OJ
LeetCode OJ: Max Points on a Line Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
2014-06-19 19:44:24 592
原创 c++编程学习
LeetCode OJ: Evaluate Reverse Polish Notation Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9
2014-06-17 20:20:56 504
原创 C++编程学习
LeetCode: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the".#include #include using namespace std; class Solution { public
2014-06-17 11:04:12 571
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人