sql版本select * from (select t.CloseDate,t.ExpiryDate,t.DataTypeLookupID,ROW_NUMBER() over(partition by CloseDate,ExpiryDate,DataTypeLookupID order by C...
分类:
数据库 时间:
2015-07-03 01:35:37
阅读次数:
159
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,
“A man, a plan, a canal: Panama” is a palindrome.
“race a car” is not a palin...
分类:
其他好文 时间:
2015-07-02 22:38:27
阅读次数:
132
题目地址:传送门
先用dp求出所有的符合要求的半回文串,标记出来。然后构造字典树。然后再dfs一遍求出所有节点的子树和,最后搜一遍就能找出第k个来了。
代码如下:#include
#include
#include
#include
#include
#include
#i...
分类:
其他好文 时间:
2015-07-02 22:35:29
阅读次数:
207
(1.) 表空间及分区表的概念 表空间: 是一个或多个数据文件的集合,所有的数据对象都存放在指定的表空间中,但主要存放的是表,所以称作表空间。 分区表: 当表中的数据量不断增大,查询数据的速度就会变慢,应用程序的性能就会下降,这时就应该考虑对表进行分区。表进行分区后,逻辑上表仍然是一张完整的表,只是...
分类:
数据库 时间:
2015-07-02 00:54:47
阅读次数:
203
9 Palindrome Number链接:https://leetcode.com/problems/palindrome-number/
问题描述:
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:
Could negat...
分类:
其他好文 时间:
2015-07-01 18:26:10
阅读次数:
111
Determine whether an integer is a palindrome. Do this without extra space.
题目:判断int数据是否为回文数
注意:负数不是回文数,0是最小的回文数
思路:此题和前面一道 求int数的反序差不多http://blog.csdn.net/xiabodan/article/details/46674133...
分类:
其他好文 时间:
2015-07-01 18:22:52
阅读次数:
154
题意简述给定一个字符串(长度不超过5000 且只包含a、b)求满足如下所示的半回文子串中字典序第k大的子串ti?=?t|t|?-?i?+?1(|t|为字符串长度)) -------------------------------------------------------------------...
分类:
其他好文 时间:
2015-07-01 13:50:37
阅读次数:
160
Understanding Cubert Concepts(二):Cubert Co-Partitioned Blocks话接上文Cubert PartitionedBlocks,我们介绍了Cubert的核心Block概念之一的分区块,它是一种根据partitionKeys和cost function来对原始数据进行Redistribution和Transformation来结构化数据,这种结构化的...
分类:
其他好文 时间:
2015-07-01 12:18:05
阅读次数:
140
what isPartition Table?Looking to optimize the performance of your SQL Server database? If your database contains very large tables, you may benefit f...
分类:
其他好文 时间:
2015-06-30 20:20:24
阅读次数:
136
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2015-06-30 12:47:25
阅读次数:
82