上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页
摘要: 5.1 You are given two 32-bit numbers, N andM, and two bit positions, i and j. Write a method to insert M into Nsuch that M starts at bit j and ends at... 阅读全文
posted @ 2014-06-18 13:04 linyx 阅读(488) 评论(0) 推荐(0) 编辑
摘要: A monolithic kernel is a kernel where all services (file system, VFS, device drivers, etc) as well as core functionality (scheduling, memory allocatio... 阅读全文
posted @ 2014-06-17 00:12 linyx 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 冯·诺伊曼结构(von Neumann architecture),也称普林斯顿结构,是一种将程序指令存储器和数据存储器合并在一起的计算机设计概念结构。本词描述的是一种实现通用图灵机的计算设备,以及一种相对于并行计算的串行式结构参考模型(referential model)。此结构隐约指导了将存储设... 阅读全文
posted @ 2014-06-12 21:52 linyx 阅读(715) 评论(0) 推荐(0) 编辑
摘要: Given an array where elements are sorted in ascending order, convert it to a height balanced BST.递归,二分法。 1 /** 2 * Definition for binary tree 3 * st... 阅读全文
posted @ 2014-06-12 16:38 linyx 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 二叉查换树,左孩子小于等于根,右孩子大于根。完全二叉树,除最后一层外,每一层上的节点数均达到最大值;在最后一层上只缺少右边的若干结点。 complete binary tree满二叉树,完美二叉树是全部结点数达到最大的二叉树。perfect binary tree, full binary tree... 阅读全文
posted @ 2014-06-11 19:28 linyx 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth... 阅读全文
posted @ 2014-06-11 19:27 linyx 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 公开密钥加密public-key cryptography,也称为非对称(密钥)加密。非对称密钥,是指一对加密密钥与解密密钥,这两个密钥是数学相关,用某用户密钥加密后所得的信息,只能用该用户的解密密钥才能解密。如果知道了其中一个,并不能计算出另外一个。因此如果公开了一对密钥中的一个,并不会危害到另外... 阅读全文
posted @ 2014-06-10 23:57 linyx 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 3.1Describe how you could use a single array to implement three stacks.Flexible Divisions的方案,当某个栈满了之后,需要把相邻的栈调整好,这是一个递归的过程。每个stack有一些属性,所以不妨将每个stack封闭... 阅读全文
posted @ 2014-06-10 12:22 linyx 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 路由器A router is a device that forwards data packets between computer networks. This creates an overlay internetwork, as a router is connected to two or... 阅读全文
posted @ 2014-06-10 00:31 linyx 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 奇偶校验位是一个表示给定位数的二进制数中1的个数是奇数还是偶数的二进制数。奇偶校验位是最简单的错误检测码。A parity bit, or check bit is a bit added to the end of a string of binary code that indicates wh... 阅读全文
posted @ 2014-06-09 23:40 linyx 阅读(364) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页