B树(B-Tree)1970年由R. Bayer和E.
Mccreight提出的一种适用于外查找的树,一种由BST推广到多叉查找的平衡查找树,由于磁盘的操作速度远小于存储器的读写速度,所以要求在尽量少
的操作次数内完成CPU分配的任务,B树就按照此原则设计,B树与红黑树的主要区别在于B树节点可以有超...
分类:
其他好文 时间:
2014-05-30 09:26:21
阅读次数:
377
Given two binary strings, return their sum
(also a binary string).For example,a ="11"b ="1"Return"100".class Solution
{public: string addBinary(str...
分类:
其他好文 时间:
2014-05-30 08:39:11
阅读次数:
270
jQuery EasyUI Tree Create from HTML markup Folder
Sub Folder 1 File 11 File 12 File 13 File 2 File 3 File 4 File 5 ...
分类:
Web程序 时间:
2014-05-29 17:48:25
阅读次数:
473
二叉堆(Binary
Heap)二叉堆是完全二叉树(或者近似完全二叉树);其满足堆的特性:父节点的值>=(<=)任何一个子节点的键值,并且每个左子树或者右子树都是一
个二叉堆(最小堆或者最大堆);一般使用数组构建二叉堆,对于array[i]而言,其左子节点为array[2*i],其右子节点为 arr...
分类:
其他好文 时间:
2014-05-29 14:02:37
阅读次数:
309
PWM测试参考链接1Enable PWM on BeagleBone with Device Tree
overlays2Using PWM on the Beaglebone Black3Beaglebone Coding 101: Buttons and
PWM4Using PWM output...
分类:
其他好文 时间:
2014-05-29 03:53:30
阅读次数:
235
The following MySQL error might occur if you are
using MySQL replication and binary logs.mysql> show binary logs;ERROR 1381
(HY000): You are not using...
分类:
其他好文 时间:
2014-05-29 01:42:38
阅读次数:
518
议题:线段树(Interval
Tree)分析:线段树是一种二叉搜索树,将一个大区间划分成单元区间,每个单元区间对应一个叶子节点;内部节点对应部分区间,如对于一个内部节点[a,
b]而言,其左子节点表示的区间为[a, (a+b)/2],其右子节点表示的区间为[1+(a+b)/2, b];对于区间长度...
分类:
其他好文 时间:
2014-05-29 01:33:28
阅读次数:
419
HTTP
POST上传通用方法,支持文字、图片、文件等。依赖jar包下载地址:http://hc.apache.org/downloads.cgi下载HttpClient
*** Binary。将HttpComponents libraries中的httpmime-4.3.3.jar拷贝到Andro...
分类:
移动开发 时间:
2014-05-28 01:47:56
阅读次数:
382
本人比较喜欢amix它集成了很多插件。1、mru.vim:用于打开最近使用过的文件 使用命令:
:MRU 打开最近的文件列表 上下箭头可以移动关标 :o 在新窗口中打开文件2、NERD Tree:用于打开项目或者文件夹目录,具体命令可以输入 :help
NERD_t...
分类:
其他好文 时间:
2014-05-28 00:47:34
阅读次数:
383
我把整个类放这里大加参考:public class ClassOrganization {
static List org; public List GetOrgTree(string _pid) { List porg = new List();
porg = org.Where(g => g.a...
分类:
其他好文 时间:
2014-05-27 17:05:33
阅读次数:
298