系统目录 / 下的目录: 1./bin(binary,二进制文件):打开里面会发现全是绿色的文件,也就是可执行文件,而且名字都是系统命令的名字,其实每个系统命令都是一个小的可执行的文件,这些命令都存放在bin目录中。 2./boot(启动),启动目录,对嵌入式非常重要,System.map和vmli ...
分类:
系统相关 时间:
2017-06-05 23:35:58
阅读次数:
247
--------------------siwuxie095 堆的基本存储 在堆中实现的插入操作和删除操作,都是 logN 级别的, 显然,堆一定相应的是一个树形结构,最为经典的一种 堆的实现叫做 二叉堆(Binary Heap) 二叉堆对应的是二叉树,所谓二叉树,就是每一个节点, 最多有两个子节点... ...
分类:
其他好文 时间:
2017-06-05 20:59:26
阅读次数:
237
【算法】回文树 #include<cstdio> #include<algorithm> #include<cstring> using namespace std; const int maxn=100010; struct trees{int len,fail,t[260];}t[maxn]; ...
分类:
编程语言 时间:
2017-06-05 18:01:02
阅读次数:
182
关于LSM Tree的介绍,这篇文章http://www.benstopford.com/2015/02/14/log-structured-merge-trees/讲得非常具体。 背景 由于磁盘的顺序IO比随机IO效率高得多,为了提高写的吞吐量,有以下几个方法:termed logging,jou ...
分类:
其他好文 时间:
2017-06-05 12:37:20
阅读次数:
225
题目: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total ...
分类:
其他好文 时间:
2017-06-05 10:32:50
阅读次数:
152
https://leetcode.com/problems/construct-string-from-binary-tree/#/description ...
分类:
其他好文 时间:
2017-06-05 10:28:12
阅读次数:
156
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: Example 1: Exa ...
分类:
其他好文 时间:
2017-06-05 10:08:08
阅读次数:
135
Given a set of intervals, for each of the interval i, check if there exists an interval j whose start point is bigger than or equal to the end point o ...
分类:
其他好文 时间:
2017-06-05 10:07:30
阅读次数:
159
近期在做船仅仅识别方面的事情,须要大量的正样本来训练adaboost分类器。于是到marinetraffic这个站点上下载船仅仅图片。写个爬虫来自己主动下载显然非常方便。 站点特点 在介绍爬虫之前首先了解一下marinetraffic这个站点的一些特点: 1. 会定期检測爬虫行为。假设觉得有爬虫大量 ...