There are generally two methods to write DFS
algorithm, one is using recursion, another one is using stack. (reference from
Wiki Pedia)Pseudocode for ...
分类:
其他好文 时间:
2014-06-13 08:39:34
阅读次数:
218
SUMMARY OF THE INVENTION The present invention
pertains to a write combining buffer for use in a microprocessor. The
microprocessor fetches data and i...
分类:
其他好文 时间:
2014-06-12 23:38:04
阅读次数:
435
BACKGROUND OF THE INVENTION The use of a cache
memory with a processor facilitates the reduction of memory access time. The
fundamental idea of cache ...
分类:
其他好文 时间:
2014-06-12 20:04:48
阅读次数:
441
vector v:初始化一个0大小的向量vector
v(10):初始化一个10个大小的向量push_back:增加一个元素pop:删除一个元素,不返回front:返回第一个元素back:返回最后一个元素at:返回特定位置的元素capacity:vector的容量,会自动扩大也可以直接通过v[x]操...
分类:
编程语言 时间:
2014-06-12 12:06:47
阅读次数:
285
http://www.cplusplus.com/reference/list/list/#include
list l:初始化一个0大小的表list
l(10):初始化一个10个大小的表empty:是否为空size:大小max_size:可分配的最大值front:第一个元素back:最后一个元素p...
分类:
编程语言 时间:
2014-06-12 10:42:33
阅读次数:
241
mWebView.setWebViewClient(newWebViewClient(){publicbooleanshouldOverrideUrlLoading(WebViewview,Stringurl){view.loadUrl(url);returntrue;}});假如不做任何处置,阅读页面,点击体系“Back”键,整个Browser会调用finish()而结束本身,假如期望阅读的网页回退而不是推出..
分类:
移动开发 时间:
2014-06-10 23:50:27
阅读次数:
625
原题地址:https://oj.leetcode.com/problems/longest-common-prefix/题意:Write
a function to find the longest common prefix string amongst an array of
strings.解...
分类:
编程语言 时间:
2014-06-10 16:31:52
阅读次数:
261