摘要: http://blog.chinaunix.net/uid 21084809 id 2215376.html "Processes, kernel threads, user threads, and fibers" "Process" 1.9.2 进程的创建 父进程的数据空间、堆栈空间都会给... 阅读全文
posted @ 2015-11-04 18:15 scott_h 阅读(686) 评论(0) 推荐(0) 编辑
摘要: "缓存算法" Bélády's Algorithm The most efficient caching algorithm would be to always discard the information that will not be needed for the longest... 阅读全文
posted @ 2015-11-04 18:05 scott_h 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: 前序遍历:先访问该节点,然后在递归遍历其左子树,然后再访问其右子树 中序遍历:先递归遍历其左子树,然后访问该节点,然后再递归遍历其右子树 后序遍历:先递归遍历其左子树,然后递归遍历其右子树,然后在访问该节点。 层级遍历,就从上到下,一层一层(这个没什么说的) 有个题目: 某二叉树 中序遍历为:A、B 阅读全文
posted @ 2015-11-04 18:04 scott_h 阅读(158) 评论(0) 推荐(0) 编辑