码迷,mamicode.com
首页 >  
搜索关键字:partition by    ( 2821个结果
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
磁盘分区(一)
我们都知道一块磁盘是可以被分成多个分区(partition)的,以Windows观点来看,你可能会有一块磁盘并且将它分区成C,D,E盘。那个C,D,E就是分区。但是Linux的设备都是以文件形式存在,那么分区的文件名又是什么?如何进行磁盘分区,磁盘分区有哪些限制?
分类:其他好文   时间:2014-10-02 14:38:42    阅读次数:205
Quick-sort
brief : the quick sort can divide into two steps, the first step is partition, the second step is conquer the subset.i) as the first step, array A[lef...
分类:其他好文   时间:2014-10-01 01:21:50    阅读次数:209
整数分拆的非递归程序
#includevoid print_partition(int n){ int i=1; int m=1; int h=1; int t,r; int a[n+1]; for(;i=r){a[++h]=r;t-=r;} if(t==0)m=...
分类:其他好文   时间:2014-10-01 01:10:00    阅读次数:247
ERROR: The partition with /var/lib/mysql is too full! failed!
发现:ERROR: The partition with /var/lib/mysql is too full! failed!然后df -h 发现硬盘100% 于是分析到底什么占用了这近两百G的硬盘,结果发现是数据库的备份文件日积月累,占满了这近两百G的硬盘。然后cd /varrm -rf log...
分类:数据库   时间:2014-09-29 02:32:36    阅读次数:302
PLSQL_性能优化系列09_Oracle Partition Table大数据分区表
2014-08-22 BaoXinjian一、摘要1、分区表: 随着表的不断增大,对于新纪录的增加、查找、删除等(DML)的维护也更加困难。对于数据库中的超大型表,可通过把它的数据分成若干个小表,从而简化数据库的管理活动。对于每一个简化后的小表,我们称为一个单个的分区 对于分区的访问,我们不需要使用...
分类:数据库   时间:2014-09-28 17:15:27    阅读次数:365
leetcode - Palindrome Partitioning
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, given s = "aab", Return [ ["aa","...
分类:其他好文   时间:2014-09-27 20:16:10    阅读次数:211
编程之美2.5 寻找最大的K个数
在一个数组中寻找最大的K个数,我们首先说一种非常简单的方法,利用快速排序中的分割算法,即我们经常看见的partition。这个函数会返回一个 int 类型的值,这个值代表的是前一半数字和后一半数字的分割点,前一半数字都小于等于后一半数字(递增排序),所以,我们只要找到相对应的分割点,即可以找到最大的K个数,或者最小的K个数,这就是利用线性方法可以完成任务的方法。      首先,给出函数声明:in...
分类:其他好文   时间:2014-09-27 15:16:59    阅读次数:124
快速排序
#include #include #include void quick_sort(int data[], int, int);int partition(int data[], int, int);int main( int argc, char* argv[] ) { int data[8] ...
分类:其他好文   时间:2014-09-27 00:09:38    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!