码迷,mamicode.com
首页 >  
搜索关键字:palindrome partition    ( 4210个结果
linux中的磁盘的MBR记录详解
在硬盘中,硬盘的0柱面0磁头第一个1扇区称为主引导扇区,也叫主引导记录-MBR(main boot record),其中MBR是以下三个部分组成1、Bootloader,主引导程序---446个字节2、Dpt(Disk Partition table),硬盘分区表---64个字节3、扇区结尾标志(5...
分类:系统相关   时间:2015-01-06 17:36:05    阅读次数:203
【leetcode】 Palindrome Partitioniong (middle) (*^__^*)
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:其他好文   时间:2015-01-06 11:37:18    阅读次数:91
Ubuntu下不重装系统安装SSD总结
一.要想给自己的机子装个固态,但又不想重装系统,各种配置,那么就要先把自己的系统从HDD复制到SSD上,这里说下我的情况.我的HDD 是500G ubuntu系统,安装的时候没有分区,默认是dev/sda1是boot partition,占500MB,/dev/sda2是file system,.....
分类:系统相关   时间:2015-01-06 00:43:34    阅读次数:522
LeetCode-Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan...
分类:其他好文   时间:2015-01-05 07:02:29    阅读次数:229
Twitter OA prepare: Anagram is A Palindrome
A string is a palindrome if it has exactly the same sequence of characters when traversed left-to-right as right-to-left. For example, the following s...
分类:其他好文   时间:2015-01-04 06:23:36    阅读次数:230
leetcode——Valid Palindrome
这题算是简单,但是还是有错到我都不知道为啥错要启动编译器来调试的时候,原来是不知道有个判断字母的函数是isalnum(),于是自己写了个判断字母的函数,第一次没判断数字,就错了,第二次发现发现判断字母时我是判断A~z则是字母,但是A和a之间隔了32个字符,而大写字母只有26个,说明之间还有不是字母的...
分类:其他好文   时间:2015-01-03 19:49:56    阅读次数:190
U盘10分钟安装linux系统
说来可能不信,10分钟包括创建U盘启动盘,用U盘启动,安装,不联网,不更新,不安装语言包,等装好系统再更新。Windows系统硬盘分区如果你用的是Windows系统,现有的硬盘没有未分配的空间,需要调整硬盘空间的,请看这里,否则跳过。工具:EASEUS Partition Manager 9.1,华...
分类:系统相关   时间:2015-01-02 22:23:06    阅读次数:274
[LeetCode]9 Palindrome Number
https://oj.leetcode.com/problems/palindrome-number/http://fisherlei.blogspot.com/2012/12/leetcode-palindrome-number.htmlpublicclassSolution{ publicbooleanisPalindrome(intx){ //Assume //Negativenumberscannotbepalindrome if(x<0) returnfalse; //Noextrasp..
分类:其他好文   时间:2015-01-02 16:14:01    阅读次数:116
【目录】Leetcode
不知不觉居然已经写了200多篇随笔了,现在查找的时候经常要翻好久,很不方便。故给自己做个目录~Leetcode1、动态规划Palindrome Partitioning II(hard) ☆Distinct Subsequences(hard)Edit Distance (hard)Interlea...
分类:其他好文   时间:2015-01-02 14:32:34    阅读次数:183
【leetcode】Palindrome Partitioning II
Palindrome Partitioning IIGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a p...
分类:其他好文   时间:2015-01-01 16:00:58    阅读次数:164
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!