随笔分类 -  数据结构

B树详解
摘要:B树 具体讲解之前,有一点,再次强调下:B-树,即为B树。因为B树的原英文名称为B-tree,而国内很多人喜欢把B-tree译作B-树,其实,这是个非常不好的直译,很容易让人产生误解。如人们可能会以为B-树是一种树,而B树又是一种一种树。而事实上是,B-tree就是指的B树。特此说明。 我们知道,B 阅读全文

posted @ 2016-03-24 00:58 wyman25 阅读(32408) 评论(1) 推荐(3) 编辑

What is the difference between a binary tree, a binary search tree, a B tree and a B+ tree?
摘要:Binary Tree : It is a tree data structure in which each node has at most two children. As such there is no relation between a parent and its left and 阅读全文

posted @ 2016-03-09 18:19 wyman25 阅读(390) 评论(0) 推荐(0) 编辑

深入思考全局静态存储区、堆区和栈区
摘要:转载地址:http://gaofeilonglcu.blog.163.com/blog/static/130864291201082084933665/ 在C++中,内存可分为系统数据区,自由存储区,文本区,const数据区,全局静态区,堆区和栈区。其中,系统数据区存放的是系统数据,我们是不能自由访问的,有时候windows系统会突然弹出一个消息框,内容是“内存不能为read”就是错误访问系统数据区的结果;自由存储区用来存放由C延伸而来的malloc()函数所分配的数据;文本区存放着我们的函数代码,我们调用函数时的底层行为就类似于先去操作一个指针,而这个指针就指向函数指令所在的地址,也就是.. 阅读全文

posted @ 2012-01-07 12:41 wyman25 阅读(1152) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示