数据结构书前两章。 附: 递归的四个法则 base cases;making progress;design rule; compound interest rule 算法里面的大小o不是高阶无穷的意思,就是说当n很大时,a比b小,也就是说,a的增长率小 只定义了小,大,相等,严格小,用到的一般只有 ...
分类:
编程语言 时间:
2018-02-09 23:59:58
阅读次数:
322
Description Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided tha ...
分类:
其他好文 时间:
2018-02-07 22:43:25
阅读次数:
200
n this lesson, we will set up Hot Module Reloading(HMR), making it possible to load new definitions for React components and MST models and apply them ...
分类:
其他好文 时间:
2018-01-29 00:25:08
阅读次数:
183
QRCode.js is javascript library for making QRCode. QRCode.js supports Cross-browser with HTML5 Canvas and table tag in DOM. QRCode.js has no dependenc ...
分类:
其他好文 时间:
2018-01-23 13:13:40
阅读次数:
6004
Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making ...
分类:
其他好文 时间:
2018-01-18 22:07:00
阅读次数:
162
Making N Dollars 拼凑面值N 题意:有面值为1~100的硬币,每种面值不限个数,求有多少种解法 思路:用data[num][coin]记录用硬币1~coin拼面额为num的价值所需的硬币数。从大面额开始,最多使用step=num/coin枚,最少使用0枚,则排除一种硬币。 该大面额硬 ...
分类:
其他好文 时间:
2018-01-16 13:52:10
阅读次数:
178
PAT 1016. Phone Bills A long distance telephone company charges its customers by the following rules: Making a long distance call costs a certain amou ...
分类:
其他好文 时间:
2018-01-06 22:13:01
阅读次数:
227
忘记基础的速度真可怕。加油~ You are, and you always will be making a difference. 1. 原码 原码就是符号位加上真值的绝对值, 即用第一位表示符号, 其余位表示值. 比如如果是8位二进制: [+1]原 = 0000 0001 [-1]原 = 10 ...
分类:
其他好文 时间:
2017-12-31 21:10:00
阅读次数:
134
Implementing the java.util.Set interface, internally backed by a java.util.HashMap instance(permitting null values). Making no guarantees to the itera ...
分类:
编程语言 时间:
2017-12-29 15:19:00
阅读次数:
173
目录 1.单词说明 2.词性说明 3.单词列表 回到顶部 1.单词说明 command n. 命令,指令 [k?'mɑ:nd] 单词拼写 名词 单词含义 音标(发音) 提示:着重记忆单词对应的意思,有能力的朋友最好词性也记忆 回到顶部 2.词性说明 n v vi vt conj prep pron ...
分类:
其他好文 时间:
2017-12-26 21:01:59
阅读次数:
551