摘要:
看别人的答案: 1 struct CacheNode { 2 int key, value; 3 CacheNode(int a, int b) : key(a), value(b) { } 4 }; 5 class LRUCache{ 6 public: 7 LRUCach... 阅读全文
摘要:
斜率问题 1 /** 2 * Definition for a point. 3 * struct Point { 4 * int x; 5 * int y; 6 * Point() : x(0), y(0) {} 7 * Point(int a, int... 阅读全文