set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgo-- =============================================-- Author: wolf-- Create date: 2014-06-25-- Description: .....
分类:
其他好文 时间:
2014-06-26 23:35:22
阅读次数:
261
优先队列(priority queue)是允许至少两种操作的数据结构:Insert及DeleteMin(删除最小者)。相当于队列中的Enqueue、Dequeue操作。优先队列可以用链表、二叉查找树、二叉堆等实现。二叉堆1. 结构性质堆(heap)是一棵完全被填满的二叉树,有可能的例外是在底层,底层...
分类:
其他好文 时间:
2014-06-26 22:16:43
阅读次数:
327
Spring MVC响应中返回JSON数据的方法:配置与以前相同使用的注解配置,但WEB-INF/lib的类路径里面要有jackson-all-1.6.9.jar这个库文件,然后在controller里面这样写:@Controller@RequestMapping("/user")publiccla...
分类:
编程语言 时间:
2014-06-26 21:53:40
阅读次数:
227
create table test(id int IDENTITY,amount int check(amount >=1000 and amount<=5000));SELECT * FROM dbo.test/*下面这个语句不检查约束:*/SET IDENTITY_INSERT dbo.test...
分类:
数据库 时间:
2014-06-26 19:25:27
阅读次数:
370
You can try this to install 32 lib(not all in ia32-libs):apt-get install program:i386.Or if you want to install the whole ia32-lib instead, try the fo...
分类:
移动开发 时间:
2014-06-26 18:09:51
阅读次数:
256
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:
其他好文 时间:
2014-06-25 12:14:23
阅读次数:
159
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-06-25 12:09:43
阅读次数:
184
FlatBuffers发布时,顺便也公布了它的性能数据,具体数据请见Benchmark。
它的测试用例由以下数据构成"a set of about 10 objects containing an array, 4 strings, and a large variety of int/float scalar values of all sizes, meant to be rep...
分类:
其他好文 时间:
2014-06-25 09:56:50
阅读次数:
431
题目链接You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a conca...
分类:
其他好文 时间:
2014-06-25 09:42:27
阅读次数:
230
oracle 11g 中 (oracle 10g) crsctl 的 替换命令
Deprecated Command
Replacement Commands
crs_stat
crsctl check cluster -all
crsctl stat re...
分类:
数据库 时间:
2014-06-25 07:15:02
阅读次数:
379