码迷,mamicode.com
首页 >  
搜索关键字:palindrome partition    ( 4210个结果
恢复oracle中误删除的表
查看回收站中表select object_name,original_name,partition_name,type,ts_name,createtime,droptime from recyclebin;恢复表SQL>flashbacktableZCM002;或SQL>flashbacktabl...
分类:数据库   时间:2014-10-09 14:32:43    阅读次数:341
【Leetcode】Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki...
分类:其他好文   时间:2014-10-07 19:09:53    阅读次数:180
UVA 10453 Make Palindrome
Problem A Make Palindrome Input: standard input Output: standard output Time Limit: 8 seconds   By definition palindrome is a string which is not changed when reversed. "MADAM" is a nice example...
分类:其他好文   时间:2014-10-07 12:44:13    阅读次数:176
leetcode -- Palindrome Partitioning II
[问题描述]Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioni...
分类:其他好文   时间:2014-10-07 01:23:32    阅读次数:341
快速排序
主要是是一个分治算法。 形象地看就是 挖坑+递归 1. A[p,r]分为A[p,q-1]和A[q+1,r]两部分,要求A[p,r]<q<A[q+1,r]. 2. 对A[p,r]和A[q+1,r]进行快速排序 #include<stdio.h> int?partition(int?a[],int?left,in...
分类:其他好文   时间:2014-10-07 00:58:03    阅读次数:203
leetcode -- Palindrome Partitioning
谋事在人,成事在天[问题描述]Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.F...
分类:其他好文   时间:2014-10-07 00:28:22    阅读次数:232
Palindrome Partitioning
[leetcode]Given a string s, partition s such that every substring of the partition is a palindrome....
分类:其他好文   时间:2014-10-06 12:19:50    阅读次数:200
Palindrome Partitioning II
【leetcode】Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning of s....
分类:其他好文   时间:2014-10-06 12:12:00    阅读次数:149
POJ1159:Palindrome【dp】
题目大意:给出一个字符串,问至少添加多少个字符才能使它成为回文串?思路:很明显的方程是:dp[i][j]=min{dp[i+1][j],dp[i][j-1],dp[i+1][j-1](str[i]==str[j]时)}dp[i][j]表示第i个字符到第j个字符构造成回文串最少添加的字符,但discu...
分类:其他好文   时间:2014-10-05 14:40:18    阅读次数:188
磁盘分区(一)
我们都知道一块磁盘是可以被分成多个分区(partition)的,以Windows观点来看,你可能会有一块磁盘并且将它分区成C,D,E盘。那个C,D,E就是分区。但是Linux的设备都是以文件形式存在,那么分区的文件名又是什么?如何进行磁盘分区,磁盘分区有哪些限制?
分类:其他好文   时间:2014-10-02 14:38:42    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!