一。介绍 哈希(hash)是一种非常快的查找方法,一般情况下查找的时间复杂度为O(1)。常用于连接(join)操作,如SQL Server和Oracle中的哈希连接(hash join)。但是SQL Server和Oracle等常见的数据库并不支持哈希索引(hash index)。MySQL的...
分类:
数据库 时间:
2014-07-15 08:46:34
阅读次数:
339
语法:border-radius:none| {1,4} [ / {1,4} ]?相关属性: border-top-right-radius , border-bottom-right-radius , border-bottom-left-radius , border-top-left-radi...
分类:
Web程序 时间:
2014-07-15 08:29:29
阅读次数:
395
有一个dom元素,它的position属性值为absolute,要通过jquery设置它的位置。我们可以通过三种方法设置该元素的top和left值,设置这两个属性的值时,元素的position属性必须为absolute或relative。第一种:使用jQuery对象的css方法,使用该方法可以直接把...
分类:
Web程序 时间:
2014-07-14 14:51:55
阅读次数:
245
SELECT object_name (i.id) TableName, rows as RowCnt FROM sysindexes i INNER JOIN sysObjects o ON (o.id = i.id AND o.xType = 'U ') WHERE indid < 2 OR.....
分类:
数据库 时间:
2014-07-14 10:28:42
阅读次数:
248
1 public void Test(){2 3 var query = from a in A join b in B on A.Id equals B.Id into c4 from d in c.DefaultIfEmpty()5 ...
分类:
其他好文 时间:
2014-07-14 08:43:30
阅读次数:
187
基本概念结点的层次(Level)从根开始定义,根为第一层,根的孩子为第二层。二叉树的高度:树中结点的最大层次称为树的深度(Depth)或高度。二叉树在计算机科学中,二叉树是每个结点最多有两个子树的有序树。通常子树的根被称作“左子树”(left subtree)和“右子树”(right subtree...
分类:
其他好文 时间:
2014-07-13 23:45:49
阅读次数:
284
以面向对象的思想和简单工厂模式,写一个C++计算器程序,代码如下:
#include
using namespace std;
class Operation {
public:
Operation(double left, double right)
{
lhs = left;
rhs = right;
}
const doub...
分类:
其他好文 时间:
2014-07-13 18:01:20
阅读次数:
354
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2014-07-13 16:53:01
阅读次数:
189
最近本来想去写一个类似论坛的页面,论坛首页一般都需要一个表格去显示数据,自己简单的写了一下,先上一张图
css代码:
/*基本信息*/
body{
margin:0px; /*外边距*/
text-align:left; /*文字居中对齐*/
font-family: 'trebuchet MS', 'Lucida sans'...
分类:
Web程序 时间:
2014-07-13 16:49:07
阅读次数:
280
Setup -> Keyboard对话框中将 Meta key改成: left...
分类:
其他好文 时间:
2014-07-13 16:02:19
阅读次数:
317