首先说一下Cache和Buffer的区别,下面一段话说的比较清楚Cache vs BufferThe terms "buffer" and "cache" tend to be used interchangeably; note however they represent different t...
分类:
编程语言 时间:
2015-10-04 23:32:48
阅读次数:
306
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:
其他好文 时间:
2015-10-04 11:06:49
阅读次数:
121
Coin partitions Let p(n) represent the number of different ways in which n coins can be separated into piles. For example, five coins can separated in...
分类:
其他好文 时间:
2015-10-02 22:31:20
阅读次数:
260
9.8 Given an infinite number of quarters (25 cents), dimes (10 cents), nickels (5 cents) and pennies (1 cent), write code to calculate the number of w...
分类:
其他好文 时间:
2015-09-26 14:44:12
阅读次数:
534
Problem:Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible repres...
分类:
其他好文 时间:
2015-09-20 23:51:57
阅读次数:
257
关于Boolean属性值HTML 中的Boolean值属性是不需要赋Boolean值的 属性的缺省代表 false The values "true" and "false" are not allowed on boolean attributes. To represent a fals...
分类:
Web程序 时间:
2015-09-20 10:24:49
阅读次数:
181
主题链接:http://acm.hdu.edu.cn/showproblem.php?pid=5062Problem DescriptionA positive integer x can represent as(a1a2…akak…a2a1)10or(a1a2…ak?1akak?1…a2a1)1...
分类:
其他好文 时间:
2015-09-18 13:46:13
阅读次数:
143
Set OperationTime Limit:3000MSMemory Limit:65536KTotal Submissions:2961Accepted:1192DescriptionYou are given N sets, the i-th set (represent by S(i)) ...
分类:
其他好文 时间:
2015-09-17 06:19:12
阅读次数:
143
Sum Root to Leaf NumbersGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-l...
分类:
其他好文 时间:
2015-09-16 17:39:34
阅读次数:
106
http://stackoverflow.com/questions/588004/is-floating-point-math-broken http://stackoverflow.com/questions/3730019/why-not-use-double-or-float-to-represent-currency/3730040#3730040 https://en.wikip...
分类:
其他好文 时间:
2015-09-14 17:01:48
阅读次数:
120