Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s.For example,...
分类:
其他好文 时间:
2014-09-19 07:42:35
阅读次数:
212
接着Win32对话框程序(1)来写,解决遗留的问题,即理解函数及其调用关系。文章中有些地方是自己的推断,因此肯定有叙述不准确甚至错误的地方,请指正,感谢~*******************************正文分割************************************Wi...
1. 字符串函数应用--从指定索引截取指定长度的字符串SELECT substring('abcdefg',2,5) --获取字符串中指定字符的索引(从1开始)select charindex(',','ab,cdefg')--实际应用中的语句select proId,color,substring...
分类:
数据库 时间:
2014-09-18 22:12:04
阅读次数:
219
在构建winform程序时,普遍的做法是将主窗体设置成 MDI Container,使它可以放置工作窗体(Form 而非 UserControl)。工作窗体作为子窗体填充工作区,一般设置 FormBorderStyle = None,不显示标题栏和边框,然后最大化。最大化设置上有个要点,如果设置Wi...
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-09-18 14:40:43
阅读次数:
208
刚使用Win7 系统不久,前段时间在清理系统垃圾时发现,win7系统的windows文件夹下的winsxs 文件夹占用空间很大,想清理之,却提示无权限无法清理。随即在网上查了个到底,原来winsxs是一个超大的文件仓库,系统所在分区差点儿全部的系统文件都在那里至少有一个备份。并且随着系统的使用,wi...
分类:
Windows程序 时间:
2014-09-18 11:12:53
阅读次数:
1193
消息本身是作为一个记录传递给应用程序的,记录中包含消息的类型以及其它的信息!这个记录类型叫做TMsg,它在WINDOWS单元中声明,这里就不一一列举(偶打字很辛苦的:P) 在WIN32中预定义的一些消息常量往往是以WM开头,以代表某一特定的消息。DELPHI的MESSAGE单元中定义了所有WI...
分类:
其他好文 时间:
2014-09-18 00:43:22
阅读次数:
354
题目 Given a string s,find the longest palindromic substring in S.You may assume that the maximum length of S is 1000,and there exist one unique longes....
分类:
其他好文 时间:
2014-09-17 21:46:02
阅读次数:
238
动态规划基本题目,longest incresing sequence,找出序列中的最长递增子序列;例如给出序列{8,3,5,2,4,9,7,11},其中最长递增子序列为{3,5,9,11}或{3,5,7,11}或{3,4,9,11}或{3,4,7,11},子序列按元素递增,序列长度都为4;子问题:...
分类:
其他好文 时间:
2014-09-17 21:36:52
阅读次数:
231