上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页
摘要: IntroductionMe and my wife had some interesting conversations onObject Oriented Design principles. After publishing the conversation on CodeProject, I... 阅读全文
posted @ 2014-10-12 15:54 Ryan in C++ 阅读(281) 评论(0) 推荐(0)
摘要: IntroductionMy wife Farhana wants to resume her career as a software developer (she started her career as a software developer, but couldn't proceed m... 阅读全文
posted @ 2014-10-12 13:45 Ryan in C++ 阅读(268) 评论(0) 推荐(0)
摘要: http://www.programmerinterview.com/index.php/data-structures/difference-between-stack-and-heap/The differences between the stack and the heap can be c... 阅读全文
posted @ 2014-10-11 09:33 Ryan in C++ 阅读(402) 评论(0) 推荐(0)
摘要: http://gribblelab.org/CBootcamp/7_Memory_Stack_vs_Heap.htmlTable of ContentsStack vs HeapThe StackThe HeapStack vs Heap Pros and ConsStackHeapExamples... 阅读全文
posted @ 2014-10-11 09:14 Ryan in C++ 阅读(315) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/felixfang/p/3676193.htmlLargest Rectangle in HistogramGivennnon-negative integers representing the histogram's bar height where... 阅读全文
posted @ 2014-10-10 22:34 Ryan in C++ 阅读(237) 评论(0) 推荐(0)
摘要: 先上代码。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 class Solution { 7 public: 8 int maxArea(vector &height) { 9 if (hei... 阅读全文
posted @ 2014-10-10 21:08 Ryan in C++ 阅读(231) 评论(0) 推荐(0)
摘要: 1 /* 2 * Copyright (c) 1991-1997 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source ... 阅读全文
posted @ 2014-10-04 07:45 Ryan in C++ 阅读(514) 评论(0) 推荐(0)
摘要: 托福分类词汇表(共17类863个常用单词)一、psychology 心理1. mental 心理的2. physical 身体的,物质的,物理的3. spiritual 心灵的4. conformity 从众5. majority 多数人6. minority 少数人7. threshold jud... 阅读全文
posted @ 2014-10-01 23:32 Ryan in C++ 阅读(745) 评论(0) 推荐(0)
摘要: The feeling of depending on oneself and AC is just great. 1 #include 2 #include 3 using namespace std; 4 class Solution { 5 public: 6 int unique... 阅读全文
posted @ 2014-09-30 10:25 Ryan in C++ 阅读(149) 评论(0) 推荐(0)
摘要: 虽说题目很简单,也没有优化。但是depend on myself & 一遍就AC还是很让人开心的。。之前二维vector不熟,通过这个题熟了很多。时间复杂度O(n^2),空间复杂度O(n^2). 优化之后可以做到空间复杂度O(1), 见代码2. 1 #include 2 #include 3 #... 阅读全文
posted @ 2014-09-30 08:39 Ryan in C++ 阅读(133) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页